From 36769ef6ac60bf881681bf73e69d1c7d1dcd6555 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Fri, 28 Jun 2024 17:04:45 -0500 Subject: [PATCH] make the database persistant in production --- docker-compose.prod.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 45a5e88..979aceb 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -6,6 +6,7 @@ services: command: gunicorn franklincce.wsgi:application --bind 0.0.0.0:8000 volumes: - static_volume:/home/app/web/staticfiles + - db_persist:/home/app/web/franklincce/db.sqlite3 expose: - 8000 env_file: @@ -20,3 +21,4 @@ services: - web volumes: static_volume: + db_persist: