2022-08-16 15:28:29 +02:00
|
|
|
# {{ 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 }}' \
|
2022-08-26 12:39:36 +02:00
|
|
|
-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 }}' \
|
2022-08-10 17:46:19 +02:00
|
|
|
-e 'BASE_URL={{ haproxy_public_base_url }}{{ haproxy_hydra_oidc_base_path }}' \
|
2023-01-24 14:11:25 +01:00
|
|
|
-e 'REDIRECT_ON_ERROR_URL={{ hydra_urls_error }}'
|
2022-08-11 10:48:47 +02:00
|
|
|
-e 'OIDC_SCOPE={{ hydra_oidc_scope }}' \
|
2022-08-10 17:46:19 +02:00
|
|
|
-e 'CLIENT_ID_FC={{ hydra_oidc_client_id }}' \
|
|
|
|
-e 'CLIENT_SECRET_FC={{ hydra_oidc_client_secret }}' \
|
2022-08-16 15:30:08 +02:00
|
|
|
-e 'TRUSTED_PROXIES=127.0.0.1,10.0.2.0/24' \
|
2022-09-14 12:11:00 +02:00
|
|
|
{% for key,value in hydra_oidc_additionnal_env.items() %}
|
|
|
|
-e '{{ key }}={{ value }}' \
|
|
|
|
{% endfor %}
|
2023-01-24 14:11:25 +01:00
|
|
|
"
|