fix docker-compose postgres volumes
This commit is contained in:
parent
6995059231
commit
abde1be657
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ services:
|
|||
image: postgres
|
||||
container_name: postgres
|
||||
volumes:
|
||||
- db:/var/lib/postgres
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- POSTGRES_USER=gancio
|
||||
|
@ -28,4 +28,4 @@ services:
|
|||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- "localhost:13120:13120"
|
||||
- 127.0.0.1:13120:13120
|
||||
|
|
Loading…
Reference in a new issue