ansible-role-sso/templates/cadoles-pod-hydra-oidc-v1.c...

26 lines
1.1 KiB
Plaintext
Raw Normal View History

# {{ ansible_managed }}
2022-08-10 17:46:19 +02:00
PODMAN_ARGS="\
--name 'cadoles-pod-hydra-oidc-v1' \
--replace \
--network=slirp4netns:allow_host_loopback=true \
--tz=local \
-p 127.0.0.1:3004:80 \
-e APP_ENV=prod \
-e 'APP_DEBUG={{ hydra_oidc_debug }}' \
-e 'HYDRA_ADMIN_BASE_URL=http://10.0.2.2:3000' \
2022-08-10 17:46:19 +02:00
-e 'COOKIE_PATH={{ hydra_oidc_cookie_path }}' \
2022-08-11 10:48:47 +02:00
-e 'OIC_AUTHORIZE_ENDPOINT={{ hydra_oidc_authorize_endpoint }}' \
-e 'OIDC_TOKEN_ENDPOINT={{ hydra_oidc_token_endpoint }}' \
-e 'OIDC_USERINFO_ENDPOINT={{ hydra_oidc_userinfo_endpoint }}' \
-e 'OIDC_LOGOUT_ENDPOINT={{ hydra_oidc_logout_endpoint }}' \
-e 'BASE_URL={{ hydra_oidc_base_url }}{{ haproxy_hydra_oidc_base_path }}' \
-e 'REDIRECT_ON_ERROR_URL={{ hydra_oidc_hydra_url_error }}' \
2022-08-11 10:48:47 +02:00
-e 'OIDC_SCOPE={{ hydra_oidc_scope }}' \
-e 'CLIENT_ID={{ hydra_oidc_client_id }}' \
-e 'CLIENT_SECRET={{ hydra_oidc_client_secret }}' \
2022-08-16 15:30:08 +02:00
-e 'TRUSTED_PROXIES=127.0.0.1,10.0.2.0/24' \
{% for key,value in hydra_oidc_additionnal_env.items() %}
-e '{{ key }}={{ value }}' \
{% endfor %}
"