forked from JacobHoppenstedt/CelebMax
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (39 loc) · 887 Bytes
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
version: "3.9"
services:
go-backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: celeb_go_backend
ports:
- "8080:8080"
depends_on:
- python-service
environment:
- PYTHON_SERVICE_URL=http://python-service:5001
python-service:
build:
context: ./python-service
dockerfile: Dockerfile
container_name: celeb_python_service
ports:
- "5001:5001"
- "5002:5002"
environment:
# pass your Fal.ai API key into the container
- FAL_KEY=${FAL_KEY}
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
container_name: celeb_frontend_dev
ports:
- "3000:3000"
environment:
- CHOKIDAR_USEPOLLING=true
volumes:
- ./frontend:/app
- /app/node_modules
depends_on:
- go-backend
- python-service