move from bind mounts to named volumes
This commit is contained in:
parent
0a8f73fc46
commit
9f62e5f3f9
|
|
@ -5,7 +5,7 @@ services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:15.5-alpine3.19
|
image: postgres:15.5-alpine3.19
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgres_data:/var/lib/postgresql/data
|
- postgres_volume:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: keycloak
|
POSTGRES_DB: keycloak
|
||||||
POSTGRES_USER: keycloak
|
POSTGRES_USER: keycloak
|
||||||
|
|
@ -47,3 +47,7 @@ services:
|
||||||
networks:
|
networks:
|
||||||
bizmatch:
|
bizmatch:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgres_volume:
|
||||||
|
external: true
|
||||||
Loading…
Reference in New Issue