From bb1c734c2c94198e9bba93e6cd9644684ce888f1 Mon Sep 17 00:00:00 2001 From: William Petit Date: Mon, 4 Dec 2023 09:21:03 +0100 Subject: [PATCH] fix: update ports mapping for hydra-dispatcher and hydra-oidc --- templates/cadoles-pod-hydra-dispatcher-v1.conf.j2 | 5 +++-- templates/cadoles-pod-hydra-oidc-v1.conf.j2 | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/cadoles-pod-hydra-dispatcher-v1.conf.j2 b/templates/cadoles-pod-hydra-dispatcher-v1.conf.j2 index d4c88d5..1c0d107 100644 --- a/templates/cadoles-pod-hydra-dispatcher-v1.conf.j2 +++ b/templates/cadoles-pod-hydra-dispatcher-v1.conf.j2 @@ -4,7 +4,7 @@ PODMAN_ARGS="\ --replace \ --network=slirp4netns:allow_host_loopback=true \ --tz=local \ - -p 127.0.0.1:3000:80 \ + -p 127.0.0.1:3000:8080 \ -e APP_ENV=prod \ -e 'APP_DEBUG={{ hydra_dispatcher_debug }}' \ -e HYDRA_ADMIN_BASE_URL=http://10.0.2.2:4445 \ @@ -21,7 +21,8 @@ PODMAN_ARGS="\ -e 'SENTRY_DSN={{ hydra_dispatcher_sentry_dsn }}' \ -e 'SENTRY_ENVIRONMENT={{ hydra_dispatcher_sentry_environment }}' \ -e 'DISABLE_APP_AUTO_SELECT={{ hydra_dispatcher_disable_app_auto_select }}' \ - -v /etc/hydra-dispatcher/conf.d:/var/www/config/hydra \ + -e 'PHP_FPM_MEMORY_LIMIT=128m' \ + -v /etc/hydra-dispatcher/conf.d:/app/config/hydra \ {% for item in hydra_dispatcher_mounts %} -v {{ item.host }}:{{ item.container }} \ {% endfor %} diff --git a/templates/cadoles-pod-hydra-oidc-v1.conf.j2 b/templates/cadoles-pod-hydra-oidc-v1.conf.j2 index dc9da13..4cbbcd4 100644 --- a/templates/cadoles-pod-hydra-oidc-v1.conf.j2 +++ b/templates/cadoles-pod-hydra-oidc-v1.conf.j2 @@ -4,7 +4,7 @@ PODMAN_ARGS="\ --replace \ --network=slirp4netns:allow_host_loopback=true \ --tz=local \ - -p 127.0.0.1:3004:80 \ + -p 127.0.0.1:3004:8080 \ -e APP_ENV=prod \ -e 'APP_DEBUG={{ hydra_oidc_debug }}' \ -e 'HYDRA_ADMIN_BASE_URL=http://10.0.2.2:3000' \