mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
🎨 postgres variables
This commit is contained in:
@@ -31,7 +31,7 @@ spec:
|
||||
AUTHELIA_SESSION_REDIS_DATABASE_INDEX: 14
|
||||
AUTHELIA_SESSION_REDIS_HOST: redis.default.svc.cluster.local.
|
||||
AUTHELIA_STORAGE_POSTGRES_DATABASE: authelia
|
||||
AUTHELIA_STORAGE_POSTGRES_HOST: postgres-rw.default.svc.cluster.local.
|
||||
AUTHELIA_STORAGE_POSTGRES_HOST: ${POSTGRES_HOST}
|
||||
AUTHELIA_TELEMETRY_METRICS_ADDRESS: "tcp://0.0.0.0:8080"
|
||||
AUTHELIA_TELEMETRY_METRICS_ENABLED: "true"
|
||||
AUTHELIA_THEME: grey
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: authelia
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -45,7 +45,7 @@ spec:
|
||||
image: prodrigestivill/postgres-backup-local:15-alpine@sha256:1209779d7b39a9f73d498091452051fedfe140252bff59ea1c42e0a9a8a9b8e0
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: "authelia,drone,freshrss,gitea,invidious,joplin,lychee,paperless,recipes,sharry,outline,vaultwarden,vikunja,wallabag"
|
||||
- name: POSTGRES_USER
|
||||
|
@@ -42,7 +42,7 @@ spec:
|
||||
RUN_AT_START: true
|
||||
database:
|
||||
DB_TYPE: postgres
|
||||
HOST: postgres-rw.default.svc.cluster.local.:5432
|
||||
HOST: ${POSTGRES_HOST}:${POSTGRES_PORT}
|
||||
NAME: gitea
|
||||
SCHEMA: public
|
||||
SSL_MODE: disable
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: *app
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -32,7 +32,7 @@ spec:
|
||||
tag: 2022.11.4@sha256:835ea67fbfd26041f8e62b8f2429c332a5ed56d270d92aa4357871a393e4e138
|
||||
env:
|
||||
TZ: "${TIMEZONE}"
|
||||
POSTGRES_HOST: postgres-rw.default.svc.cluster.local.
|
||||
POSTGRES_HOST: ${POSTGRES_HOST}
|
||||
POSTGRES_DB: home_assistant
|
||||
envFrom:
|
||||
- secretRef:
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: home_assistant
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -34,8 +34,8 @@ spec:
|
||||
TIMEZONE: ${TIMEZONE}
|
||||
APP_NAME: Lychee
|
||||
DB_CONNECTION: pgsql
|
||||
DB_HOST: postgres-rw.default.svc.cluster.local.
|
||||
DB_PORT: 5432
|
||||
DB_HOST: ${POSTGRES_HOST}
|
||||
DB_PORT: ${POSTGRES_PORT}
|
||||
DB_DATABASE: lychee
|
||||
REDIS_HOST: redis.default.svc.cluster.local.
|
||||
REDIS_PORT: 6379
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: lychee
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: freshrss
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -12,8 +12,8 @@
|
||||
# db:
|
||||
# user: ${SECRET_INVIDIOUS_DB_USER}
|
||||
# password: ${SECRET_INVIDIOUS_DB_PASSWORD}
|
||||
# host: postgres-rw.default.svc.cluster.local
|
||||
# port: 5432
|
||||
# host: ${POSTGRES_HOST}
|
||||
# port: ${POSTGRES_PORT}
|
||||
# dbname: invidious
|
||||
|
||||
##
|
||||
@@ -30,7 +30,7 @@
|
||||
## Accepted values: a postgres:// URI
|
||||
## Default: postgres://kemal:kemal@localhost:5432/invidious
|
||||
##
|
||||
database_url: postgres://${SECRET_INVIDIOUS_DB_USER}:${SECRET_INVIDIOUS_DB_PASSWORD}@postgres-rw.default.svc.cluster.local.:5432/invidious
|
||||
database_url: postgres://${SECRET_INVIDIOUS_DB_USER}:${SECRET_INVIDIOUS_DB_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/invidious
|
||||
|
||||
##
|
||||
## Enable automatic table integrity check. This will create
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: invidious
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -34,8 +34,8 @@ spec:
|
||||
APP_BASE_URL: https://joplin.${SECRET_CLUSTER_DOMAIN}
|
||||
APP_PORT: 80
|
||||
DB_CLIENT: pg
|
||||
POSTGRES_HOST: postgres-rw.default.svc.cluster.local.
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_HOST: ${POSTGRES_HOST}
|
||||
POSTGRES_PORT: ${POSTGRES_PORT}
|
||||
POSTGRES_DATABASE: joplin
|
||||
MAILER_ENABLED: 1
|
||||
MAILER_HOST: smtp-relay.default.svc.cluster.local.
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: joplin
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -40,8 +40,8 @@ spec:
|
||||
PAPERLESS_OCR_LANGUAGES: fra
|
||||
PAPERLESS_OCR_LANGUAGE: fra
|
||||
PAPERLESS_PORT: 8000
|
||||
PAPERLESS_DBHOST: postgres-rw.default.svc.cluster.local.
|
||||
PAPERLESS_DBPORT: 5432
|
||||
PAPERLESS_DBHOST: ${POSTGRES_HOST}
|
||||
PAPERLESS_DBPORT: ${POSTGRES_PORT}
|
||||
PAPERLESS_DBNAME: paperless
|
||||
PAPERLESS_REDIS: redis://paperless-redis.default.svc.cluster.local:6379
|
||||
PAPERLESS_TASK_WORKERS: 2
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: *app
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -14,7 +14,7 @@ sharry.restserver {
|
||||
fixed.enabled = false
|
||||
}
|
||||
jdbc {
|
||||
url = "jdbc:postgresql://postgres-rw.default.svc.cluster.local.:5432/sharry"
|
||||
url = "jdbc:postgresql://${POSTGRES_HOST}:${POSTGRES_PORT}/sharry"
|
||||
user = "${SECRET_SHARRY_DB_USERNAME}"
|
||||
password = "${SECRET_SHARRY_DB_PASSWORD}"
|
||||
}
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: sharry
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -10,8 +10,8 @@ spec:
|
||||
DEBUG: "0"
|
||||
ALLOWED_HOSTS: "*"
|
||||
DB_ENGINE: django.db.backends.postgresql_psycopg2
|
||||
POSTGRES_HOST: postgres-rw.default.svc.cluster.local.
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_HOST: ${POSTGRES_HOST}
|
||||
POSTGRES_PORT: ${POSTGRES_PORT}
|
||||
POSTGRES_DB: recipes
|
||||
GUNICORN_MEDIA: "0"
|
||||
TIMEZONE: ${TIMEZONE}
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: recipes
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: vaultwarden
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -97,7 +97,7 @@ spec:
|
||||
- name: VIKUNJA_DATABASE_TYPE
|
||||
value: postgres
|
||||
- name: VIKUNJA_DATABASE_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: VIKUNJA_DATABASE_DATABASE
|
||||
value: vikunja
|
||||
- name: VIKUNJA_DATABASE_USER
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: vikunja
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
@@ -8,8 +8,8 @@ spec:
|
||||
values:
|
||||
env:
|
||||
SYMFONY__ENV__DATABASE_DRIVER: pdo_pgsql
|
||||
SYMFONY__ENV__DATABASE_HOST: postgres-rw.default.svc.cluster.local.
|
||||
SYMFONY__ENV__DATABASE_PORT: 5432
|
||||
SYMFONY__ENV__DATABASE_HOST: ${POSTGRES_HOST}
|
||||
SYMFONY__ENV__DATABASE_PORT: ${POSTGRES_PORT}
|
||||
SYMFONY__ENV__DATABASE_NAME: wallabag
|
||||
SYMFONY__ENV__REDIS_HOST: redis.default.svc.cluster.local.
|
||||
SYMFONY__ENV__DOMAIN_NAME: https://wallabag.${SECRET_CLUSTER_DOMAIN}
|
||||
|
@@ -11,7 +11,7 @@ spec:
|
||||
image: ghcr.io/onedr0p/postgres-initdb:14.6
|
||||
env:
|
||||
- name: POSTGRES_HOST
|
||||
value: postgres-rw.default.svc.cluster.local.
|
||||
value: ${POSTGRES_HOST}
|
||||
- name: POSTGRES_DB
|
||||
value: wallabag
|
||||
- name: POSTGRES_SUPER_PASS
|
||||
|
Reference in New Issue
Block a user