ansible-role-sso/templates/cadoles-pod-hydra-v1.conf.j2

18 lines
900 B
Plaintext
Raw Normal View History

2022-07-19 14:26:08 +02:00
PODMAN_ARGS="\
--name 'cadoles-pod-hydra-v1' \
--replace \
--network=slirp4netns:allow_host_loopback=true \
-p 127.0.0.1:4444:4444 \
-p 127.0.0.1:4445:4445 \
--tmpfs /tmp \
-e 'HYDRA_DSN=mysql://{{ hydra_database_user }}:{{ hydra_database_password }}@tcp({{ hydra_database_host }}:{{ hydra_database_port }})/{{ hydra_database_name }}?parseTime=true' \
-e LOG_LEVEL=debug \
-e LOG_LEAK_SENSITIVE_VALUES=true \
-e HYDRA_URLS_SELF_ISSUER={{ public_scheme }}://{{ public_host }} \
-e HYDRA_URLS_CONSENT={{ public_scheme }}://{{ public_host }}/auth/dispatcher/consent \
-e HYDRA_URLS_LOGIN={{ public_scheme }}://{{ public_host }}/auth/dispatcher/login \
-e HYDRA_URLS_LOGOUT={{ public_scheme }}://{{ public_host }}/auth/dispatcher/logout \
-e HYDRA_ALLOW_INSECURE=yes \
-e HYDRA_LEVEL=debug \
-v /etc/hydra/clients.d:/etc/hydra/clients.d \
"