Skip to content

Commit 6e0ac79

Browse files
authored
Update docker-compose.yml
1 parent c4c924c commit 6e0ac79

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ services:
66
restart: unless-stopped
77
env_file: ./.env
88
environment:
9-
- POSTGRES_USER=$POSTGRESDB_USER
10-
- POSTGRES_PASSWORD=$POSTGRESDB_ROOT_PASSWORD
11-
- POSTGRES_DB=$POSTGRESDB_DATABASE
9+
- POSTGRES_USER=postgres
10+
- POSTGRES_PASSWORD=sa123
11+
- POSTGRES_DB=bezkoder_db
1212
ports:
13-
- $POSTGRESDB_LOCAL_PORT:$POSTGRESDB_DOCKER_PORT
13+
- 5433:5432
1414
volumes:
1515
- db:/var/lib/postgres
1616
app:
@@ -20,7 +20,7 @@ services:
2020
restart: unless-stopped
2121
env_file: ./.env
2222
ports:
23-
- $NODE_LOCAL_PORT:$NODE_DOCKER_PORT
23+
- 6868:8080
2424
environment:
2525
- DB_HOST=postgresdb
2626
- DB_USER=$POSTGRESDB_USER
@@ -31,4 +31,4 @@ services:
3131
tty: true
3232

3333
volumes:
34-
db:
34+
db:

0 commit comments

Comments
 (0)