@@ -7,12 +7,12 @@ services:
7
7
timeout : 2s
8
8
retries : 300
9
9
env_file :
10
- - env.d/postgresql
11
- - env.d/common
10
+ - env.d/postgresql
11
+ - env.d/common
12
12
environment :
13
- - PGDATA=/var/lib/postgresql/data/pgdata
13
+ - PGDATA=/var/lib/postgresql/data/pgdata
14
14
volumes :
15
- - ./data/databases/backend:/var/lib/postgresql/data/pgdata
15
+ - ./data/databases/backend:/var/lib/postgresql/data/pgdata
16
16
17
17
redis :
18
18
image : redis:8
@@ -22,12 +22,12 @@ services:
22
22
user : ${DOCKER_USER:-1000}
23
23
restart : always
24
24
environment :
25
- - DJANGO_CONFIGURATION=Production
25
+ - DJANGO_CONFIGURATION=Production
26
26
env_file :
27
- - env.d/common
28
- - env.d/backend
29
- - env.d/yprovider
30
- - env.d/postgresql
27
+ - env.d/common
28
+ - env.d/backend
29
+ - env.d/yprovider
30
+ - env.d/postgresql
31
31
healthcheck :
32
32
test : ["CMD", "python", "manage.py", "check"]
33
33
interval : 15s
@@ -45,24 +45,24 @@ services:
45
45
image : lasuite/impress-y-provider:latest
46
46
user : ${DOCKER_USER:-1000}
47
47
env_file :
48
- - env.d/common
49
- - env.d/yprovider
48
+ - env.d/common
49
+ - env.d/yprovider
50
50
51
51
frontend :
52
52
image : lasuite/impress-frontend:latest
53
53
user : " 101"
54
54
entrypoint :
55
- - /docker-entrypoint.sh
55
+ - /docker-entrypoint.sh
56
56
command : ["nginx", "-g", "daemon off;"]
57
57
env_file :
58
- - env.d/common
58
+ - env.d/common
59
59
# Uncomment and set your values if using our nginx proxy example
60
60
# environment:
61
- # - VIRTUAL_HOST=${DOCS_HOST} # used by nginx proxy
61
+ # - VIRTUAL_HOST=${DOCS_HOST} # used by nginx proxy
62
62
# - VIRTUAL_PORT=8083 # used by nginx proxy
63
63
# - LETSENCRYPT_HOST=${DOCS_HOST} # used by lets encrypt to generate TLS certificate
64
64
volumes :
65
- - ./default.conf.template:/etc/nginx/templates/docs.conf.template
65
+ - ./default.conf.template:/etc/nginx/templates/docs.conf.template
66
66
depends_on :
67
67
backend :
68
68
condition : service_healthy
0 commit comments