ansible/roles/install_keycloak/templates/docker-compose.yml.j2
Jean-Marie Mineau 9553aceb11 "fix some bugs
btw, yaml, why the hell would 2222:22 be a date? Fuck you you stupide piece of code"
2021-01-27 02:03:17 +01:00

17 lines
436 B
Django/Jinja

# {{ ansible_managed }}
# version: "3.8"
services:
server:
image: jboss/keycloak
container_name: keycloak
restart: always
environment:
- USER_UID={{ getent_passwd["keycloak"].1 }}
- USER_GID={{ getent_passwd["keycloak"].2 }}
- "KEYCLOAK_USER=${USERNAME}"
- "KEYCLOAK_PASSWORD=${PASSWORD}"
volumes:
- ./certificates:/etc/x509/https
ports:
- "{{ keycloak_https_port }}:8443"