Move postgres-init-scripts to init/postgres
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
|||||||
POSTGRES_DB: exampledb
|
POSTGRES_DB: exampledb
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
- ./postgres-init-scripts:/docker-entrypoint-initdb.d
|
- ./init/postgres:/docker-entrypoint-initdb.d
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432" # Exposing PostgreSQL to the host
|
- "5432:5432" # Exposing PostgreSQL to the host
|
||||||
expose:
|
expose:
|
||||||
|
|||||||
Reference in New Issue
Block a user