File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
66 python src/manage.py ensure_superuser &&
77 python src/manage.py runserver 0.0.0.0:8000"
88 volumes :
9- - . :/app
9+ - unison :/app
1010 ports :
1111 - " ${APP_BIND_PORT:-8234}:8000"
1212 env_file :
@@ -41,3 +41,4 @@ networks:
4141
4242volumes :
4343 postgres_data :
44+ unison :
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class PaymentGatewayConfig:
3030class MyDjangoSettings :
3131 DEBUG = config ("DEBUG" , default = False , cast = bool )
3232 PROD = config ("PROD" , default = False , cast = bool )
33- PROD_FILES_ROOT = config ("PROD_FILES_ROOT" , default = "/var/www /" , cast = str )
33+ PROD_FILES_ROOT = config ("PROD_FILES_ROOT" , default = "/app/data /" , cast = str )
3434 PROD_DOMAIN = config ("PROD_DOMAIN" , cast = str )
3535 SECRET_KEY = config ("SECRET_KEY" , cast = str )
3636 MORE_ALLOWED_HOSTS = config ("MORE_ALLOWED_HOSTS" , cast = Csv (), default = "127.0.0.1" )
You can’t perform that action at this time.
0 commit comments