Compare commits
No commits in common. "8a3b451e7efdc5b872e5412fae1d0ef7ce34c654" and "de24eb0026d23b0a655143fdd16f0ff36d543ea7" have entirely different histories.
8a3b451e7e
...
de24eb0026
|
@ -1,8 +0,0 @@
|
|||
# Prevent execution timeout due to the large amount of data to process during profling sessions
|
||||
max_execution_time=300
|
||||
# Extension
|
||||
zend_extension=xdebug.so
|
||||
# Xdebug configuration
|
||||
xdebug.mode=${XDEBUG_MODE}
|
||||
xdebug.client_host=${XDEBUG_CLIENT_HOST}
|
||||
xdebug.start_with_request=${XDEBUG_START_WITH_REQUEST}
|
|
@ -24,16 +24,9 @@ configMapGenerator:
|
|||
- DB_PASSWORD="makeMeASecret"
|
||||
- REDIS_DSN="redis://redis:6379"
|
||||
- PEPPER="MakeMeABigSecret"
|
||||
- OPCACHE_VALIDATE_TIMESTAMP="0"
|
||||
- OPCACHE_REVALIDATE_FREQ="0"
|
||||
- XDEBUG_MODE=off
|
||||
- name: sql-login-config
|
||||
files:
|
||||
- ./files/sql_login.yaml
|
||||
- name: hydra-sql-php-ini
|
||||
files:
|
||||
- ./files/03_base.ini
|
||||
- name: xdebug-sql-config
|
||||
behavior: create
|
||||
files:
|
||||
- ./files/50_xdebug.ini
|
||||
|
|
|
@ -55,6 +55,10 @@ spec:
|
|||
value: 128m
|
||||
- name: PHP_FPM_LOG_LEVEL
|
||||
value: warning
|
||||
- name: OPCACHE_VALIDATE_TIMESTAMP
|
||||
value: "0"
|
||||
- name: OPCACHE_REVALIDATE_FREQ
|
||||
value: "0"
|
||||
volumeMounts:
|
||||
- name: sql-login-config
|
||||
mountPath: "/app/config/sql_login_configuration/sql_login.yaml"
|
||||
|
@ -62,9 +66,7 @@ spec:
|
|||
- name: hydra-sql-php-ini
|
||||
mountPath: /etc/php81/conf.d/03_base.ini
|
||||
subPath: 03_base.ini
|
||||
- name: xdebug-sql-config
|
||||
mountPath: /etc/php81/conf.d/50_xdebug.ini
|
||||
subPath: 50_xdebug.ini
|
||||
|
||||
- name: hydra-sql-caddy
|
||||
image: reg.cadoles.com/cadoles/hydra-sql-base:2024.10.10-develop.1026.8e56433
|
||||
imagePullPolicy: Always
|
||||
|
@ -116,7 +118,5 @@ spec:
|
|||
- name: hydra-sql-php-ini
|
||||
configMap:
|
||||
name: hydra-sql-php-ini
|
||||
- name: xdebug-sql-config
|
||||
configMap:
|
||||
name: xdebug-sql-config
|
||||
|
||||
restartPolicy: Always
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
# Prevent execution timeout due to the large amount of data to process during profling sessions
|
||||
max_execution_time=300
|
||||
# Extension
|
||||
zend_extension=xdebug.so
|
||||
# Xdebug configuration
|
||||
xdebug.mode=${XDEBUG_MODE}
|
||||
xdebug.client_host=${XDEBUG_CLIENT_HOST}
|
||||
xdebug.start_with_request=${XDEBUG_START_WITH_REQUEST}
|
|
@ -0,0 +1,17 @@
|
|||
parameters:
|
||||
env(HYDRA_DISPATCHER_WEBHOOK_ENABLED): false
|
||||
env(HYDRA_DISPATCHER_WEBHOOK_API_URL): ""
|
||||
env(HYDRA_DISPATCHER_WEBHOOK_API_KEY): ""
|
||||
env(HYDRA_DISPATCHER_WEBHOOK_API_METHOD): POST
|
||||
env(HYDRA_DISPATCHER_FIREWALL_ADDITIONAL_PROPERTIES): true
|
||||
|
||||
hydra:
|
||||
apps: []
|
||||
webhook:
|
||||
enabled: "%env(bool:HYDRA_DISPATCHER_WEBHOOK_ENABLED)%"
|
||||
api_url: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_URL)%"
|
||||
api_key: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_KEY)%"
|
||||
api_method: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_METHOD)%"
|
||||
firewall:
|
||||
additional_properties: "%env(bool:HYDRA_DISPATCHER_FIREWALL_ADDITIONAL_PROPERTIES)%"
|
||||
rules: {}
|
|
@ -26,13 +26,9 @@ configMapGenerator:
|
|||
- DEFAULT_LOCALE=fr
|
||||
- APP_LOCALES=fr,en
|
||||
- REDIS_DSN="redis://redis:6379"
|
||||
- OPCACHE_VALIDATE_TIMESTAMP="0"
|
||||
- OPCACHE_REVALIDATE_FREQ="0"
|
||||
- XDEBUG_MODE=off
|
||||
- name: hydra-dispatcher-apps
|
||||
files:
|
||||
- apps.yaml=./files/hydra/default.yaml
|
||||
- name: hydra-dispatcher-php-ini
|
||||
files:
|
||||
- ./files/03_base.ini
|
||||
- name: xdebug-dispatcher-config
|
||||
behavior: create
|
||||
files:
|
||||
- ./files/50_xdebug.ini
|
||||
- ./files/03_base.ini
|
|
@ -41,16 +41,19 @@ spec:
|
|||
value: 128m
|
||||
- name: PHP_FPM_MEMORY_LIMIT
|
||||
value: 128m
|
||||
- name: OPCACHE_VALIDATE_TIMESTAMP
|
||||
value: "0"
|
||||
- name: OPCACHE_REVALIDATE_FREQ
|
||||
value: "0"
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: hydra-dispatcher-env
|
||||
volumeMounts:
|
||||
- mountPath: /app/config/hydra
|
||||
name: hydra-dispatcher-apps
|
||||
- name: hydra-dispatcher-php-ini
|
||||
mountPath: /etc/php81/conf.d/03_base.ini
|
||||
subPath: 03_base.ini
|
||||
- name: xdebug-dispatcher-config
|
||||
mountPath: /etc/php81/conf.d/50_xdebug.ini
|
||||
subPath: 50_xdebug.ini
|
||||
resources: {}
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
|
@ -106,9 +109,9 @@ spec:
|
|||
runAsUser: 1000
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: hydra-dispatcher-apps
|
||||
configMap:
|
||||
name: hydra-dispatcher-apps
|
||||
- name: hydra-dispatcher-php-ini
|
||||
configMap:
|
||||
name: hydra-dispatcher-php-ini
|
||||
- name: xdebug-dispatcher-config
|
||||
configMap:
|
||||
name: xdebug-config
|
Loading…
Reference in New Issue