HajTex_living_with_keycloak/docker/compose/keycloakpostgres/compose.yaml

19 lines
487 B
YAML

services:
postgres:
image: postgres:16
container_name: keycloakpostgres
hostname: keycloakpostgres
volumes:
- /docker/compose/keycloakpostgres/postgres_data:/var/lib/postgresql/data
- /docker/compose/keycloakpostgres/backup:/backup
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
networks:
- keycloak-network
networks:
keycloak-network:
external: true