Update docker-compose.postgresql.yml
Added Postgres volume bind for initialization script
This commit is contained in:
@@ -30,6 +30,7 @@ services:
|
|||||||
POSTGRES_PASSWORD: "lubepass"
|
POSTGRES_PASSWORD: "lubepass"
|
||||||
POSTGRES_DB: "lubelogger"
|
POSTGRES_DB: "lubelogger"
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:/var/lib/postgresql/data
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user