make the database persistant in production
This commit is contained in:
parent
d5e74175e6
commit
36769ef6ac
|
@ -6,6 +6,7 @@ services:
|
||||||
command: gunicorn franklincce.wsgi:application --bind 0.0.0.0:8000
|
command: gunicorn franklincce.wsgi:application --bind 0.0.0.0:8000
|
||||||
volumes:
|
volumes:
|
||||||
- static_volume:/home/app/web/staticfiles
|
- static_volume:/home/app/web/staticfiles
|
||||||
|
- db_persist:/home/app/web/franklincce/db.sqlite3
|
||||||
expose:
|
expose:
|
||||||
- 8000
|
- 8000
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -20,3 +21,4 @@ services:
|
||||||
- web
|
- web
|
||||||
volumes:
|
volumes:
|
||||||
static_volume:
|
static_volume:
|
||||||
|
db_persist:
|
||||||
|
|
Loading…
Reference in New Issue