-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
55 lines (49 loc) · 1.04 KB
/
docker-compose.override.yml
File metadata and controls
55 lines (49 loc) · 1.04 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
52
53
services:
db:
restart: "no"
ports:
- "5432:5432"
adminer:
restart: "no"
ports:
- "8080:8080"
backend:
restart: "no"
entrypoint:
- python
- -m
- debugpy
- --listen
- 0.0.0.0:5678
- -m
- uvicorn
- app.main:app
- --host
- 0.0.0.0
- --port
- "443" # Change from 8443 to 443
- --ssl-certfile
- /usr/local/share/ca-certificates/ARSMDBE3142ACSL.pem
- --ssl-keyfile
- /usr/local/share/ca-certificates/ARSMDBE3142ACSL.key
# Only expose debugger port to host, not the app ports
ports:
- "5678:5678"
# Remove:
# - "8443:8443"
volumes:
- ./backend/:/app
build:
context: ./backend
args:
INSTALL_DEV: ${INSTALL_DEV-true}
frontend:
restart: "no"
# Remove external port bindings if you don't need host access
# ports:
# - "443:443"
# - "80:80"
networks:
traefik-public:
# For local dev, don't expect an external Traefik network
external: false