persistent postgres db with docker
This commit is contained in:
@@ -10,6 +10,7 @@ services:
|
|||||||
POSTGRES_DB: gancio
|
POSTGRES_DB: gancio
|
||||||
volumes:
|
volumes:
|
||||||
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||||
|
- ./postgres:/var/lib/postgresql/data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
build: .
|
build: .
|
||||||
|
|||||||
Reference in New Issue
Block a user