feat(altcha) #4543 : add altcha to hydra sql theme

This commit is contained in:
Gauthier Dupont 2025-04-08 15:08:13 +02:00
parent c1d9ca62d4
commit fca01c236a
3 changed files with 13 additions and 4 deletions

View File

@ -13,8 +13,8 @@ configMapGenerator:
- name: hydra-oidc-env
behavior: create
literals:
- APP_ENV=prod
- APP_DEBUG=false
- APP_ENV=dev
- APP_DEBUG=true
- PHP_FPM_MEMORY_LIMIT=256m
- NGINX_APP_SERVER_LISTEN=80
- HYDRA_ADMIN_BASE_URL=http://hydra-dispatcher

View File

@ -13,6 +13,8 @@ configMapGenerator:
- name: hydra-sql-env
behavior: create
literals:
- APP_ENV=dev
- APP_DEBUG=true
- ISSUER_URL="http://localhost:8000"
- BASE_URL='http://localhost:8080'
- HYDRA_ADMIN_BASE_URL='http://hydra:4445/admin'
@ -24,6 +26,13 @@ configMapGenerator:
- DB_PASSWORD="makeMeASecret"
- REDIS_DSN="redis://redis:6379"
- PEPPER="MakeMeABigSecret"
- ALTCHA_HOST='http://altcha:3333'
- ALTCHA_BASE_URL=''
- ALTCHA_DEBUG=false
- ALTCHA_WORKERS=8
- ALTCHA_DELAY=100
- ALTCHA_MOCK_ERROR=false
- ALTCHA_ENABLED=true
- name: sql-login-config
files:
- ./files/sql_login.yaml

View File

@ -21,7 +21,7 @@ spec:
spec:
containers:
- name: hydra-sql-fpm
image: reg.cadoles.com/cadoles/hydra-sql-base:2025.3.7-develop.1415.7239d84
image: reg.cadoles.com/gdupont/hydra-sql-base:test-hydra3
imagePullPolicy: IfNotPresent
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
readinessProbe:
@ -68,7 +68,7 @@ spec:
subPath: 03_base.ini
- name: hydra-sql-caddy
image: reg.cadoles.com/cadoles/hydra-sql-base:2025.3.7-develop.1415.7239d84
image: reg.cadoles.com/gdupont/hydra-sql-base:test-hydra3
imagePullPolicy: IfNotPresent
args: ["/usr/sbin/caddy", "run", "--adapter", "caddyfile", "--config", "/etc/caddy/Caddyfile"]
readinessProbe: