60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
namespace: sova-test
|
|
|
|
image:
|
|
repository: sova-cabinet
|
|
tag: local-test
|
|
pullPolicy: IfNotPresent
|
|
|
|
imagePullSecrets: []
|
|
|
|
nginx:
|
|
image: nginx:1.27-alpine
|
|
|
|
replicaCount: 1
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
host: cabinet.test.sova.local
|
|
|
|
resources:
|
|
php:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
nginx:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 200m
|
|
memory: 128Mi
|
|
|
|
env:
|
|
APP_ENV: prod
|
|
APP_DEBUG: "0"
|
|
TRUSTED_PROXIES: "127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
|
TRUSTED_HEADERS: '["x-forwarded-for","x-forwarded-host","x-forwarded-proto","x-forwarded-port","x-forwarded-prefix"]'
|
|
MIS: http://mis-mock.sova-mocks.svc.cluster.local:8080
|
|
BITRIX24_URL: http://mis-mock.sova-mocks.svc.cluster.local:8080/rest/noop
|
|
TECH_MAINTENANCE: "false"
|
|
CORS_ALLOW_ORIGIN: "^https?://(cabinet\\.test\\.sova\\.local|localhost)(:[0-9]+)?$"
|
|
|
|
secrets:
|
|
APP_SECRET: change-me-cabinet-test-secret
|
|
DATABASE_URL: postgresql://sova_test:sova_test_pass@postgresql-test.sova-data-test.svc.cluster.local:5432/sova_cabinet_test?serverVersion=16&charset=utf8
|
|
DATABASE_BITRIX_URL: mysql://bitrix_test:bitrix_test_pass@mysql-bitrix-test.sova-data-test.svc.cluster.local:3306/sova_bitrix_test?serverVersion=8.0
|
|
REDIS_URL: redis://:redis_test_pass@redis-test-master.sova-data-test.svc.cluster.local:6379/1
|
|
MAILER_DSN: smtp://mailpit.sova-mocks.svc.cluster.local:1025
|
|
SMSRU_KEY_API: noop
|
|
SMSRU_FROM_SOVAMED: noop
|
|
SMS4B_TOKEN: noop
|
|
SMS4B_FROM_WMTMED: noop
|
|
SMARTCAPTCHA_SERVER_KEY: test-key
|
|
|
|
migrate:
|
|
enabled: false
|