feat: allow changing hydra oidc internal port (default 8080)

This commit is contained in:
Laurent Gourvenec 2024-01-10 14:48:51 +01:00
parent 8d3ca8fe91
commit 6ae24ccf81
2 changed files with 2 additions and 1 deletions

View File

@ -228,6 +228,7 @@ oidc_test_app_public_base_url: "{{ haproxy_public_base_url }}{{ haproxy_oidc_tes
enable_hydra_oidc: no enable_hydra_oidc: no
hydra_oidc_debug: no hydra_oidc_debug: no
hydra_oidc_internal_port: 8080
hydra_oidc_hydra_url_error: hydra_oidc_hydra_url_error:
hydra_oidc_base_url: hydra_oidc_base_url:
hydra_oidc_cookie_path: "{{ haproxy_hydra_oidc_base_path }}" hydra_oidc_cookie_path: "{{ haproxy_hydra_oidc_base_path }}"

View File

@ -4,7 +4,7 @@ PODMAN_ARGS="\
--replace \ --replace \
--network=slirp4netns:allow_host_loopback=true \ --network=slirp4netns:allow_host_loopback=true \
--tz=local \ --tz=local \
-p 127.0.0.1:3004:8080 \ -p 127.0.0.1:3004:{{ hydra_oidc_internal_port | default(8080) }} \
-e APP_ENV=prod \ -e APP_ENV=prod \
-e 'APP_DEBUG={{ hydra_oidc_debug }}' \ -e 'APP_DEBUG={{ hydra_oidc_debug }}' \
-e 'HYDRA_ADMIN_BASE_URL=http://10.0.2.2:3000' \ -e 'HYDRA_ADMIN_BASE_URL=http://10.0.2.2:3000' \