mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 03:38:32 +01:00
feat: usermanagement keycloak
This commit is contained in:
35
roles/usermanagement/templates/keycloak.yaml
Normal file
35
roles/usermanagement/templates/keycloak.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
|
||||
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: keycloak.env
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 5050:8080
|
||||
depends_on:
|
||||
- postgres
|
||||
secrets:
|
||||
- postgres_password
|
||||
postgres:
|
||||
container_name: postgres-container
|
||||
image: postgres:13.2
|
||||
env_file: postgres.env
|
||||
restart: unless-stopped
|
||||
secrets:
|
||||
- postgres_password
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
|
||||
secrets:
|
||||
postgres_password:
|
||||
file: postgres_password
|
||||
|
||||
volumes:
|
||||
postgres-data:
|
||||
|
||||
...
|
||||
Reference in New Issue
Block a user