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
|
image: postgres
|
||||||
container_name: postgres
|
container_name: postgres
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgres
|
- ./postgres:/var/lib/postgresql/data
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=gancio
|
- POSTGRES_USER=gancio
|
||||||
|
@ -28,4 +28,4 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
ports:
|
ports:
|
||||||
- "localhost:13120:13120"
|
- 127.0.0.1:13120:13120
|
||||||
|
|
Loading…
Reference in a new issue