fix: postgres docker volume
This commit is contained in:
parent
1e2679395f
commit
c6b0d91041
|
|
@ -38,9 +38,13 @@ services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:18.1
|
image: postgres:18.1
|
||||||
volumes:
|
volumes:
|
||||||
|
- postgres_data:/var/lib/postgresql
|
||||||
- ./docker/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
- ./docker/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_PASSWORD=postgres
|
- POSTGRES_PASSWORD=postgres
|
||||||
ports:
|
ports:
|
||||||
- '5432:5432'
|
- '5432:5432'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgres_data:
|
||||||
Loading…
Reference in New Issue