feat: change postgresql host

This commit is contained in:
auricom
2022-08-12 18:39:07 +02:00
parent 9fb37f3cb3
commit ae445e1087
9 changed files with 12 additions and 26 deletions

View File

@@ -34,7 +34,7 @@ spec:
APP_BASE_URL: https://joplin.${SECRET_CLUSTER_DOMAIN}
APP_PORT: 22300
DB_CLIENT: pg
POSTGRES_HOST: postgresql-kube.data.svc.cluster.local.
POSTGRES_HOST: postgres.${SECRET_DOMAIN}
POSTGRES_PORT: 5432
POSTGRES_DATABASE: joplin
POSTGRES_USER: joplin

View File

@@ -27,7 +27,7 @@ spec:
DEBUG: "0"
ALLOWED_HOSTS: "*"
DB_ENGINE: django.db.backends.postgresql
POSTGRES_HOST: postgresql-kube.data.svc.cluster.local.
POSTGRES_HOST: postgres.${SECRET_DOMAIN}
POSTGRES_PORT: 5432
POSTGRES_DB: recipes
POSTGRES_USER: recipes

View File

@@ -64,7 +64,7 @@ spec:
- name: VIKUNJA_SERVICE_JWTSECRET
value: ${SECRET_VIKUNJA_JWT_SECRET}
- name: VIKUNJA_DATABASE_HOST
value: postgresql-kube.data.svc.cluster.local.
value: postgres.${SECRET_DOMAIN}
- name: VIKUNJA_DATABASE_DATABASE
value: vikunja
- name: VIKUNJA_DATABASE_USER

View File

@@ -24,7 +24,7 @@ spec:
env:
SYMFONY__ENV__DATABASE_DRIVER: pdo_pgsql
SYMFONY__ENV__DATABASE_HOST: postgresql-kube.data.svc.cluster.local.
SYMFONY__ENV__DATABASE_HOST: postgres.${SECRET_DOMAIN}
SYMFONY__ENV__DATABASE_PORT: 5432
SYMFONY__ENV__DATABASE_NAME: wallabag
SYMFONY__ENV__DATABASE_USER: wallabag

View File

@@ -38,7 +38,7 @@ spec:
RUN_AT_START: true
database:
DB_TYPE: postgres
HOST: postgresql-kube.data.svc.cluster.local.:5432
HOST: postgres.${SECRET_DOMAIN}:5432
NAME: gitea
USER: gitea
PASSWD: ${SECRET_GITEA_DB_PASSWORD}

View File

@@ -33,7 +33,7 @@ spec:
env:
PHP_TZ: ${TIMEZONE}
DB_CONNECTION: pgsql
DB_HOST: postgresql-kube.data.svc.cluster.local.
DB_HOST: postgres.${SECRET_DOMAIN}
DB_PORT: 5432
DB_DATABASE: lychee
DB_USERNAME: lychee

View File

@@ -28,7 +28,7 @@ spec:
EMAIL_USE_TLS: "True"
ALLOWED_HOSTS: "*"
DB: postgres
DB_HOST: postgresql-kube.data.svc.cluster.local.
DB_HOST: postgres.${SECRET_DOMAIN}
DB_PORT: 5432
DB_NAME: healthchecks
DB_USER: healthchecks

View File

@@ -129,7 +129,7 @@ spec:
storage:
postgres:
enabled: true
host: postgresql-kube.data.svc.cluster.local
host: postgres.${SECRET_DOMAIN}
notifier:
smtp: