Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit 97ca08e

Browse files
committed
Remove local volume mount binding for postgres
1 parent e12ee9a commit 97ca08e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docker-compose.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ services:
3030
ports:
3131
- 8080:8080
3232
db:
33-
image: postgres:latest
33+
image: postgres
3434
volumes:
35-
- ./backend/tmp/db:/var/lib/postgresql/data
35+
- /var/lib/postgresql/data
3636
environment:
3737
POSTGRES_USER: postgres
3838
POSTGRES_PASSWORD: secret
39+
ALLOW_IP_RANGE: 0.0.0.0/0
40+
ports:
41+
- 54321:5432
3942
backend:
4043
build: backend
4144
depends_on:

0 commit comments

Comments
 (0)