fix docker-compose postgres volumes
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user