File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ POSTGRES_USER=
2
2
POSTGRES_PASSWORD =
3
3
POSTGRES_DB =
4
4
DATABASE_URL =
5
- PORT =
5
+ SERVER_PORT =
6
6
VITE_SERVER_URL =
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ services:
8
8
POSTGRES_USER : " ${POSTGRES_USER}"
9
9
POSTGRES_PASSWORD : " ${POSTGRES_PASSWORD}"
10
10
POSTGRES_DB : ${POSTGRES_DB}
11
- volumes :
12
- - ./docker_test_db:/var/lib/postgresql/data
13
11
healthcheck :
14
12
test : ["CMD-SHELL", "sh -c 'pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}'"]
15
13
interval : 5s
@@ -26,7 +24,7 @@ services:
26
24
command : bash -c "npx prisma migrate reset --force && npm start"
27
25
environment :
28
26
DATABASE_URL : " ${DATABASE_URL}"
29
- PORT : " ${PORT }"
27
+ PORT : " ${SERVER_PORT }"
30
28
depends_on :
31
29
postgres :
32
30
condition : service_healthy
@@ -37,6 +35,6 @@ services:
37
35
dockerfile : Dockerfile
38
36
command : bash -c "npm run preview"
39
37
ports :
40
- - " 4174 :4173"
38
+ - " 4172 :4173"
41
39
depends_on :
42
40
- server
You can’t perform that action at this time.
0 commit comments