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"
|
- CSRF_TRUSTED_ORIGINS="https://tracker.kucharczyk.xyz"
|
||||||
user: "1000"
|
user: "1000"
|
||||||
volumes:
|
volumes:
|
||||||
- "static-files:/home/timetracker/app/static"
|
- "static-files:/var/www/django/static"
|
||||||
|
- "$PWD/db.sqlite3:/home/timetracker/app/db.sqlite3"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: caddy
|
image: caddy
|
||||||
volumes:
|
volumes:
|
||||||
- "static-files:/usr/share/caddy"
|
- "static-files:/usr/share/caddy:ro"
|
||||||
- "$PWD/Caddyfile:/etc/caddy/Caddyfile"
|
- "$PWD/Caddyfile:/etc/caddy/Caddyfile"
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
@ -26,3 +27,4 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
static-files:
|
static-files:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue