File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,14 @@ services:
1111 volumes :
1212 - /var/run/docker.sock:/var/run/docker.sock
1313 - caddy_data:/data
14+ - /home/devseed/vbos-backend/static:/www/html/static
1415 restart : unless-stopped
16+ # labels:
17+ # caddy.debug:
1518
1619networks :
1720 caddy :
1821 external : true
1922
2023volumes :
21- caddy_data : {}
24+ caddy_data : {}
Original file line number Diff line number Diff line change 11services :
22 vbos-backend :
3- image : ghcr.io/developmentseed/vbos-backend:latest
3+ image : ghcr.io/developmentseed/vbos-backend:main
44 environment :
5+ - DJANGO_SECRET_KEY=${DJANGO_SECRET_KEY}
6+ - DJANGO_AWS_ACCESS_KEY_ID=${DJANGO_AWS_ACCESS_KEY_ID}
7+ - DJANGO_AWS_SECRET_ACCESS_KEY=${DJANGO_AWS_SECRET_ACCESS_KEY}
8+ - DJANGO_AWS_STORAGE_BUCKET_NAME=${DJANGO_AWS_STORAGE_BUCKET_NAME}
9+ - DJANGO_DB_URL=${DJANGO_DB_URL}
510 - DJANGO_SETTINGS_MODULE=vbos.config.production
11+ - PORT=8000
612 ports :
7- - 8000 :8000
13+ - 8080 :8000
814 ipc : host
915 networks :
1016 - caddy
1117 labels :
1218 caddy : vbos-backend.ds.io
1319 caddy.reverse_proxy : " {{upstreams 8000}}"
20+ caddy.handle : " /static/*"
21+ caddy.handle.root : " * /www/html"
22+ caddy.handle.file_server :
1423
1524networks :
1625 caddy :
17- external : true
26+ external : true
You can’t perform that action at this time.
0 commit comments