casino/docker/docker-compose.yml
Renovate 3092f4a688
All checks were successful
CI / prettier (pull_request) Successful in 24s
CI / eslint (pull_request) Successful in 42s
CI / test-build (pull_request) Successful in 51s
CI / Checkstyle Main (pull_request) Successful in 2m7s
chore(deps): update all non-major dependencies
2025-03-12 19:02:41 +00:00

54 lines
No EOL
1.2 KiB
YAML

volumes:
keycloak_data:
postgres_data_keycloak_db:
postgres_data:
services:
keycloak_lf12:
image: quay.io/keycloak/keycloak:23.0
volumes:
- keycloak_data:/opt/keycloak/data
- ./imports:/opt/keycloak/data/import
command:
- start-dev
- --import-realm
environment:
KC_DB: postgres
KC_DB_URL_HOST: keycloakdb_svr
KC_DB_URL_DATABASE: keycloakdb
KC_DB_PASSWORD: postgres_pass
KC_DB_USERNAME: postgres_user
KC_DB_SCHEMA: public
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- "9090:8080"
depends_on:
keycloakdb_svr:
condition: service_healthy
keycloakdb_svr:
image: postgres:14.17
volumes:
- postgres_data_keycloak_db:/var/lib/postgresql/data
environment:
POSTGRES_DB: keycloakdb
POSTGRES_USER: postgres_user
POSTGRES_PASSWORD: postgres_pass
healthcheck:
test: "exit 0"
ports:
- "9433:5432"
postgres_db:
image: postgres:16.8
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: postgresdb
POSTGRES_USER: postgres_user
POSTGRES_PASSWORD: postgres_pass
healthcheck:
test: "exit 0"
ports:
- "5432:5432"