Fix docker-compose.yml
This commit is contained in:
parent
ccebcb89c6
commit
79f94e5984
|
@ -10,13 +10,14 @@ services:
|
|||
- CSRF_TRUSTED_ORIGINS="https://tracker.kucharczyk.xyz"
|
||||
user: "1000"
|
||||
volumes:
|
||||
- "static-files:/home/timetracker/app/static"
|
||||
- "static-files:/var/www/django/static"
|
||||
- "$PWD/db.sqlite3:/home/timetracker/app/db.sqlite3"
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
image: caddy
|
||||
volumes:
|
||||
- "static-files:/usr/share/caddy"
|
||||
- "static-files:/usr/share/caddy:ro"
|
||||
- "$PWD/Caddyfile:/etc/caddy/Caddyfile"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
@ -26,3 +27,4 @@ services:
|
|||
volumes:
|
||||
static-files:
|
||||
|
||||
|
Loading…
Reference in New Issue