fix docker-compose postgres volumes

This commit is contained in:
les 2020-10-30 17:52:41 +01:00
parent 6995059231
commit abde1be657

View file

@ -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