From 8ab2dcc950c9d6c71384b3b74e73109e97182131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 16 Nov 2023 16:27:01 +0100 Subject: [PATCH] Fix docker-compose.yml --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 77b5d0e..41470e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: + \ No newline at end of file