Files
no-secrets-athq-ansible/roles/usermanagement/keycloak.yaml
2023-01-07 12:40:35 +01:00

36 lines
638 B
YAML

---
version: '3.3'
services:
keycloak:
container_name: keycloak-container
command: start-dev --http-enabled=true
image: quay.io/keycloak/keycloak:18.0.0
env_file: .env.keycloak
restart: unless-stopped
ports:
- 5050:8080
depends_on:
- postgres
secrets:
- postgres_password
postgres:
container_name: postgres-container
image: postgres:13.2
env_file: .env.postgres
restart: unless-stopped
secrets:
- postgres_password
volumes:
- postgres-data:/var/lib/postgresql/data
secrets:
postgres_password:
file: postgres_password
volumes:
postgres-data:
...