-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (46 loc) · 1.03 KB
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (46 loc) · 1.03 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
43
44
45
46
47
48
49
50
51
services:
web:
build:
context: ./huddle-web
dockerfile: Dockerfile.dev
ports:
- "3000:3000"
volumes:
- ./huddle-web:/app
- /app/node_modules
environment:
- NODE_ENV=development
command: npm run dev -- -H 0.0.0.0
chat-server:
build:
context: ./huddle-chat-server
dockerfile: Dockerfile.dev
ports:
- "3001:3001"
volumes:
- ./huddle-chat-server:/app
- /app/node_modules
command: npm run dev
ai-engine:
build:
context: ./huddle-ai-engine
dockerfile: Dockerfile.dev
ports:
- "8000:8000"
env_file:
- ./huddle-chat-server/.env
volumes:
- ./huddle-ai-engine:/app
command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload
postgres:
image: postgres:15-alpine
ports:
- "5433:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=huddle
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data: