HajTex_living_with_keycloak/docker/compose/keycloakpostgres/compose.yaml

20 lines
487 B
YAML
Raw Normal View History

2024-12-30 02:50:43 +01:00
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