build: fully update deployment process and provide docs

This commit is contained in:
James Graham
2022-03-31 18:12:44 +01:00
parent 8b8a05597c
commit fe5b68488f
7 changed files with 68 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
:80 :443 {
http://* {
root * /srv
file_server

View File

@@ -7,9 +7,9 @@ services:
ports:
- 8000:8000
environment:
DEBUG: {{ django_settings.debug }}
DEBUG: {{ django_debug }}
DATABASE_URL: sqlite:////app/db.sqlite3
SECRET_KEY: {{ django_settings.secret_key }}
SECRET_KEY: {{ django_secret_key }}
volumes:
- {{ project_dir }}/db.sqlite3:/app/db.sqlite3:z
- static_files:/app/static