-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 965 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 965 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
44
45
46
47
48
version: '3'
services:
caddy:
image: caddy
build:
dockerfile: Dockerfile
context: ./caddy/
volumes:
- ./caddy:/etc/caddy
ports:
- 443:443
- 80:80
depends_on:
- api
- frontend
restart: unless-stopped
frontend:
image: frontend
env_file:
- .env
build:
dockerfile: Dockerfile
context: ./frontend/
ports:
- 8080:8080
restart: unless-stopped
depends_on:
- api
api:
image: api
ports:
- 8001:8000
- 5678:5678
- 8181:8181
restart: unless-stopped
volumes:
- ./api/swotvis:/swotvis
build:
context: ./api/
dockerfile: Dockerfile
working_dir: /swotvis
# command: python -m debugpy --listen 0.0.0.0:5678 -m uvicorn --host 0.0.0.0 --port 8000 --proxy-headers main:app --reload
command: uvicorn --host 0.0.0.0 --port 8000 --proxy-headers main:app --reload
env_file:
- .env