File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ DELA_PROXY_PORT_RANGE=8080-8082 # Dela proxy ports (at least DEL
18
18
DATABASE_USERNAME=dvoting # choose any PostgreSQL username
19
19
DATABASE_PASSWORD= # choose any PostgreSQL password
20
20
DATABASE_HOST=db # PostgreSQL host
21
+ DATABASE_PORT=5432 # PostgreSQL port
21
22
FRONT_END_URL=http://localhost:3000 # frontend URL
22
23
BACKEND_HOST=backend # backend host
23
24
BACKEND_PORT=5000 # backend port
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ services:
33
33
DATABASE_USERNAME : ${DATABASE_USERNAME}
34
34
DATABASE_PASSWORD : ${DATABASE_PASSWORD}
35
35
DATABASE_HOST : ${DATABASE_HOST}
36
+ DATABASE_PORT : ${DATABASE_PORT}
36
37
FRONT_END_URL : ${FRONT_END_URL}
37
38
DELA_NODE_URL : ${DELA_NODE_URL}
38
39
SESSION_SECRET : ${SESSION_SECRET}
@@ -52,6 +53,8 @@ services:
52
53
volumes :
53
54
- postgres-data:/var/lib/postgresql/data
54
55
- ./web/backend/src/migration.sql:/docker-entrypoint-initdb.d/init.sql
56
+ ports :
57
+ - 127.0.0.1:5432:${DATABASE_PORT}
55
58
56
59
volumes :
57
60
postgres-data : # PostgreSQL database
You can’t perform that action at this time.
0 commit comments