2022-07-19 14:26:08 +02:00
|
|
|
PODMAN_ARGS="\
|
|
|
|
-p 127.0.0.1:3003:80 \
|
|
|
|
--network=slirp4netns:allow_host_loopback=true \
|
|
|
|
--replace --name 'cadoles-pod-hydra-remote-user-v1' \
|
|
|
|
-v /etc/hydra-remote-user/conf.d:/var/www/config/remote_user \
|
|
|
|
-v /etc/hydra-remote-user/apache.conf:/etc/apache2/sites-available/000-default.conf \
|
|
|
|
-e APP_ENV=prod \
|
|
|
|
-e APP_DEBUG=no \
|
2022-07-21 14:19:23 +02:00
|
|
|
-e 'HTTP_BASE_URL={{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}' \
|
|
|
|
-e COOKIE_PATH={{ haproxy_hydra_saml_base_path }} \
|
2022-07-19 14:26:08 +02:00
|
|
|
-e HYDRA_ADMIN_BASE_URL=http://10.0.2.2:3000 \
|
|
|
|
-e 'TRUSTED_PROXIES=127.0.0.1,10.0.2.0/24' \
|
2022-07-21 14:19:23 +02:00
|
|
|
-e 'LOGOUT_REDIRECT_URL_PATTERN={{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}/Shibboleth.sso/Logout?return=%s' \
|
2022-07-19 14:26:08 +02:00
|
|
|
"
|