File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ services:
6
6
python src/manage.py ensure_superuser &&
7
7
python src/manage.py runserver 0.0.0.0:8000"
8
8
volumes :
9
- - . :/app
9
+ - unison :/app
10
10
ports :
11
11
- " ${APP_BIND_PORT:-8234}:8000"
12
12
env_file :
@@ -41,3 +41,4 @@ networks:
41
41
42
42
volumes :
43
43
postgres_data :
44
+ unison :
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class PaymentGatewayConfig:
30
30
class MyDjangoSettings :
31
31
DEBUG = config ("DEBUG" , default = False , cast = bool )
32
32
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 )
34
34
PROD_DOMAIN = config ("PROD_DOMAIN" , cast = str )
35
35
SECRET_KEY = config ("SECRET_KEY" , cast = str )
36
36
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