2022-07-19 14:26:08 +02:00
|
|
|
PODMAN_ARGS="\
|
|
|
|
-p 127.0.0.1:3002:80 \
|
|
|
|
--network=slirp4netns:allow_host_loopback=true \
|
|
|
|
--replace --name 'cadoles-pod-shibboleth-sp-v3' \
|
2022-07-21 14:19:23 +02:00
|
|
|
-e 'SP_ENTITY_ID={{ haproxy_public_base_url }}{{ haproxy_hydra_saml_base_path }}' \
|
2022-07-19 14:26:08 +02:00
|
|
|
-e 'IDP_ENTITY_ID={{ hydra_saml_idp_entity_id }}' \
|
|
|
|
-e 'IDP_METADATA_URL={{ hydra_saml_idp_metadata_url }}' \
|
|
|
|
-e 'APACHE_BACKEND_URL=http://10.0.2.2:3003' \
|
2022-07-21 14:19:23 +02:00
|
|
|
-e 'APACHE_FORCE_HTTPS={{ "true" if haproxy_public_base_url.startswith('https') else "false" }}' \
|
|
|
|
-e 'SP_HANDLER_BASE_PATH={{ haproxy_hydra_saml_base_path }}' \
|
2022-07-19 14:26:08 +02:00
|
|
|
-v '/etc/shibboleth/attribute-map.inc.xml:/etc/shibboleth/attribute-map.inc.xml' \
|
|
|
|
-v '/etc/shibboleth/shibboleth2.xml.gotmpl:/etc/shibboleth/shibboleth2.xml.gotmpl' \
|
|
|
|
-v '/etc/shibboleth/credentials:/etc/shibboleth/credentials' \
|
|
|
|
"
|