-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (42 loc) · 1.23 KB
/
docker-compose.yml
File metadata and controls
42 lines (42 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: kayak-backend
ports:
- "5000:5000"
environment:
NODE_ENV: production
PORT: 5000
MONGODB_URI: mongodb+srv://aneessahebaguddi:Saheba2001@datawarehouse.egbi7gm.mongodb.net/?retryWrites=true&w=majority
REDIS_URL: redis://default:ok4NyM9aDKkxicOtDblKR9lJEMK0HfVB@redis-10259.c323.us-east-1-2.ec2.cloud.redislabs.com:10259
KAFKA_BROKER: kafka-22d33350-data-236-b354.h.aivencloud.com:21798
KAFKA_SSL_CA_PATH: /app/kafka-creds/ca.pem
KAFKA_SSL_CERT_PATH: /app/kafka-creds/service.cert
KAFKA_SSL_KEY_PATH: /app/kafka-creds/service.key
REVIEWS_SERVICE_URL: http://localhost:3003
AGENT_SERVICE_URL: http://ai-agent:8000
JWT_SECRET: change-me
volumes:
- ./kafka/creds:/app/kafka-creds:ro
depends_on:
- ai-agent
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
container_name: kayak-frontend
ports:
- "5173:80"
depends_on:
- backend
ai-agent:
build:
context: .
dockerfile: ai-agent/Dockerfile
container_name: kayak-ai-agent
env_file:
- ./ai-agent/.env
ports:
- "8000:8000"