File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,15 @@ services:
8
8
POSTGRES_USER : " ${POSTGRES_USER}"
9
9
POSTGRES_PASSWORD : " ${POSTGRES_PASSWORD}"
10
10
POSTGRES_DB : ${POSTGRES_DB}
11
+ command : bash -c "npm run preview"
11
12
volumes :
12
13
- ./docker_test_db:/var/lib/postgresql/data
13
14
healthcheck :
14
- test : ["CMD-SHELL", "sh -c 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'"]
15
- interval : 5s
16
- timeout : 60s
17
- retries : 5
18
- start_period : 80s
15
+ test : ["CMD-SHELL", "sh -c 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'"]
16
+ interval : 5s
17
+ timeout : 60s
18
+ retries : 5
19
+ start_period : 80s
19
20
server :
20
21
container_name : server
21
22
build :
@@ -29,7 +30,7 @@ services:
29
30
PORT : " ${PORT}"
30
31
depends_on :
31
32
postgres :
32
- condition : service_healthy
33
+ condition : service_healthy
33
34
client :
34
35
container_name : client
35
36
build :
Original file line number Diff line number Diff line change
1
+ PORT =
2
+ DATABASE_URL =
You can’t perform that action at this time.
0 commit comments