chore(apps): move envTpl to env (#1578)
This commit is contained in:
@@ -5,10 +5,7 @@ image:
|
|||||||
|
|
||||||
# See more environment variables in the babybuddy documentation
|
# See more environment variables in the babybuddy documentation
|
||||||
# https://github.com/linuxserver/docker-babybuddy#parameters
|
# https://github.com/linuxserver/docker-babybuddy#parameters
|
||||||
env: {}
|
env:
|
||||||
# TZ:
|
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DB_ENGINE: "django.db.backends.postgresql"
|
DB_ENGINE: "django.db.backends.postgresql"
|
||||||
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|||||||
@@ -18,14 +18,9 @@ podSecurityContext:
|
|||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
envTpl:
|
|
||||||
# Permissions Settings
|
|
||||||
USER_ID: "{{ .Values.env.PUID }}"
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PUID: 568
|
PUID: 568
|
||||||
|
USER_ID: "{{ .Values.env.PUID }}"
|
||||||
# TZ: UTC
|
|
||||||
VISION-FACE: "True"
|
VISION-FACE: "True"
|
||||||
VISION-DETECTION: "True"
|
VISION-DETECTION: "True"
|
||||||
VISION-SCENE: "True"
|
VISION-SCENE: "True"
|
||||||
|
|||||||
@@ -18,14 +18,9 @@ podSecurityContext:
|
|||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
envTpl:
|
|
||||||
# Permissions Settings
|
|
||||||
USER_ID: "{{ .Values.env.PUID }}"
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PUID: 568
|
PUID: 568
|
||||||
|
USER_ID: "{{ .Values.env.PUID }}"
|
||||||
# TZ: UTC
|
|
||||||
VISION-FACE: "True"
|
VISION-FACE: "True"
|
||||||
VISION-DETECTION: "True"
|
VISION-DETECTION: "True"
|
||||||
VISION-SCENE: "True"
|
VISION-SCENE: "True"
|
||||||
|
|||||||
@@ -11,6 +11,11 @@ image:
|
|||||||
env:
|
env:
|
||||||
# -- Set the container timezone
|
# -- Set the container timezone
|
||||||
TZ: UTC
|
TZ: UTC
|
||||||
|
DJANGO_TIME_ZONE: "{{ .Values.env.TZ }}"
|
||||||
|
DJANGO_DATABASE_ENGINE: "django.db.backends.postgresql"
|
||||||
|
DJANGO_DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
|
DJANGO_DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
DJANGO_DATABASE_PORT: "5432"
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
@@ -20,13 +25,6 @@ podSecurityContext:
|
|||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DJANGO_TIME_ZONE: "{{ .Values.env.TZ }}"
|
|
||||||
DJANGO_DATABASE_ENGINE: "django.db.backends.postgresql"
|
|
||||||
DJANGO_DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
||||||
DJANGO_DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
||||||
DJANGO_DATABASE_PORT: "5432"
|
|
||||||
|
|
||||||
envValueFrom:
|
envValueFrom:
|
||||||
DJANGO_DATABASE_PASSWORD:
|
DJANGO_DATABASE_PASSWORD:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ secret: {}
|
|||||||
# See more environment variables in the etherpad documentation
|
# See more environment variables in the etherpad documentation
|
||||||
# https://github.com/ether/etherpad-lite/blob/develop/doc/docker.md
|
# https://github.com/ether/etherpad-lite/blob/develop/doc/docker.md
|
||||||
# For Mariadb, use DB_TYPE: mysql https://github.com/ether/etherpad-lite/issues/4214
|
# For Mariadb, use DB_TYPE: mysql https://github.com/ether/etherpad-lite/issues/4214
|
||||||
env: {}
|
env:
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DB_TYPE: "postgres"
|
DB_TYPE: "postgres"
|
||||||
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|||||||
@@ -25,15 +25,12 @@ service:
|
|||||||
port: 10055
|
port: 10055
|
||||||
targetPort: 5900
|
targetPort: 5900
|
||||||
|
|
||||||
# All values here are set as the docker defaults.
|
|
||||||
envTpl:
|
|
||||||
# Permissions Settings
|
|
||||||
USER_ID: "{{ .Values.env.PUID }}"
|
|
||||||
secret:
|
secret:
|
||||||
VNC_PASSWORD: ""
|
VNC_PASSWORD: ""
|
||||||
env:
|
env:
|
||||||
# Permissions Settings
|
# Permissions Settings
|
||||||
PUID: 568
|
PUID: 568
|
||||||
|
USER_ID: "{{ .Values.env.PUID }}"
|
||||||
# General Settings
|
# General Settings
|
||||||
KEEP_APP_RUNNING: 0
|
KEEP_APP_RUNNING: 0
|
||||||
CLEAN_TMP_DIR: 1
|
CLEAN_TMP_DIR: 1
|
||||||
|
|||||||
@@ -32,15 +32,12 @@ service:
|
|||||||
port: 10056
|
port: 10056
|
||||||
targetPort: 5900
|
targetPort: 5900
|
||||||
|
|
||||||
# All values here are set as the docker defaults.
|
|
||||||
envTpl:
|
|
||||||
# Permissions Settings
|
|
||||||
USER_ID: "{{ .Values.env.PUID }}"
|
|
||||||
secret:
|
secret:
|
||||||
VNC_PASSWORD: ""
|
VNC_PASSWORD: ""
|
||||||
env:
|
env:
|
||||||
# Permissions Settings
|
# Permissions Settings
|
||||||
PUID: 568
|
PUID: 568
|
||||||
|
USER_ID: "{{ .Values.env.PUID }}"
|
||||||
# General Settings
|
# General Settings
|
||||||
KEEP_APP_RUNNING: 0
|
KEEP_APP_RUNNING: 0
|
||||||
CLEAN_TMP_DIR: 1
|
CLEAN_TMP_DIR: 1
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ env:
|
|||||||
APP_BASE_URL: https://joplin.domain
|
APP_BASE_URL: https://joplin.domain
|
||||||
# -- joplin-server listening port (same as Service port)
|
# -- joplin-server listening port (same as Service port)
|
||||||
APP_PORT: 22300
|
APP_PORT: 22300
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DB_CLIENT: "pg"
|
DB_CLIENT: "pg"
|
||||||
POSTGRES_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
|
POSTGRES_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ env:
|
|||||||
MAIL_CONFIGURATION: false
|
MAIL_CONFIGURATION: false
|
||||||
# -- log driver: syslog, stderr, stdout or file
|
# -- log driver: syslog, stderr, stdout or file
|
||||||
LOG_DRIVER: stdout
|
LOG_DRIVER: stdout
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DB_DRIVER: "postgres"
|
DB_DRIVER: "postgres"
|
||||||
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
DB_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
DB_USERNAME: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|||||||
@@ -5,13 +5,11 @@ image:
|
|||||||
env:
|
env:
|
||||||
# Permissions Settings
|
# Permissions Settings
|
||||||
PUID: 568
|
PUID: 568
|
||||||
|
HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
|
||||||
envTpl:
|
|
||||||
# Port to host the web service on. This will be the internal container port exposed and needs to be the same as the public service port.
|
# Port to host the web service on. This will be the internal container port exposed and needs to be the same as the public service port.
|
||||||
# The main http port always has to be a 1:1 mapping between external and internal port.
|
# The main http port always has to be a 1:1 mapping between external and internal port.
|
||||||
# You can't just map it like -p 9002:9000, as Logitech Media Server is telling players on which port to connect.
|
# You can't just map it like -p 9002:9000, as Logitech Media Server is telling players on which port to connect.
|
||||||
# Therefore if you have to use a different http port for LMS (other than 9000) you'll have to set the HTTP_PORT environment variable
|
# Therefore if you have to use a different http port for LMS (other than 9000) you'll have to set the HTTP_PORT environment variable
|
||||||
HTTP_PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
|
|||||||
@@ -19,8 +19,6 @@ podSecurityContext:
|
|||||||
env:
|
env:
|
||||||
# -- Set the container timezone
|
# -- Set the container timezone
|
||||||
TZ: UTC
|
TZ: UTC
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DB_TYPE: postgres
|
DB_TYPE: postgres
|
||||||
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|||||||
@@ -30,8 +30,6 @@ secret:
|
|||||||
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
NEXTCLOUD_ADMIN_PASSWORD: "adminpass"
|
||||||
env:
|
env:
|
||||||
TRUSTED_PROXIES: "172.16.0.0/16"
|
TRUSTED_PROXIES: "172.16.0.0/16"
|
||||||
|
|
||||||
envTpl:
|
|
||||||
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
POSTGRES_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,9 @@ secret: {}
|
|||||||
|
|
||||||
# See more environment variables in the odoo documentation
|
# See more environment variables in the odoo documentation
|
||||||
# https://github.com/nicholaswilde/docker-odoo
|
# https://github.com/nicholaswilde/docker-odoo
|
||||||
env: {}
|
env:
|
||||||
# HOST: "odoo-db"
|
|
||||||
|
|
||||||
envTpl:
|
|
||||||
USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
# HOST: "odoo-db"
|
||||||
|
|
||||||
envValueFrom:
|
envValueFrom:
|
||||||
PASSWORD:
|
PASSWORD:
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ env:
|
|||||||
PAPERLESS_STATICDIR: "/static/"
|
PAPERLESS_STATICDIR: "/static/"
|
||||||
PAPERLESS_CONSUMPTION_DIR: "/consume/"
|
PAPERLESS_CONSUMPTION_DIR: "/consume/"
|
||||||
PAPERLESS_MEDIA_ROOT: "/media/"
|
PAPERLESS_MEDIA_ROOT: "/media/"
|
||||||
|
|
||||||
envTpl:
|
|
||||||
USERMAP_UID: "{{ .Values.env.PUID }}"
|
USERMAP_UID: "{{ .Values.env.PUID }}"
|
||||||
USERMAP_GID: "{{ .Values.env.PGID }}"
|
USERMAP_GID: "{{ .Values.env.PGID }}"
|
||||||
PAPERLESS_TIME_ZONE: "{{ .Values.env.TZ }}"
|
PAPERLESS_TIME_ZONE: "{{ .Values.env.TZ }}"
|
||||||
|
|||||||
@@ -29,8 +29,6 @@ env:
|
|||||||
FRACTION_PREF_DEFAULT: 0
|
FRACTION_PREF_DEFAULT: 0
|
||||||
COMMENT_PREF_DEFAULT: 1
|
COMMENT_PREF_DEFAULT: 1
|
||||||
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
|
SHOPPING_MIN_AUTOSYNC_INTERVAL: 5
|
||||||
|
|
||||||
envTpl:
|
|
||||||
TIMEZONE: "{{ .Values.env.TZ }}"
|
TIMEZONE: "{{ .Values.env.TZ }}"
|
||||||
DB_ENGINE: "django.db.backends.postgresql"
|
DB_ENGINE: "django.db.backends.postgresql"
|
||||||
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
POSTGRES_DB: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ podSecurityContext:
|
|||||||
env:
|
env:
|
||||||
# TZ:
|
# TZ:
|
||||||
PUID: 568
|
PUID: 568
|
||||||
|
|
||||||
envTpl:
|
|
||||||
SHIORI_PG_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
SHIORI_PG_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
SHIORI_PG_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
SHIORI_PG_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ env:
|
|||||||
USE_CDN: false
|
USE_CDN: false
|
||||||
# -- Disable logs from appearing and writing to disk
|
# -- Disable logs from appearing and writing to disk
|
||||||
DISABLE_LOGS: false
|
DISABLE_LOGS: false
|
||||||
envTpl:
|
|
||||||
DB_CONN: "postgres"
|
DB_CONN: "postgres"
|
||||||
DB_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
|
DB_DATABASE: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ env:
|
|||||||
DOCS_SMTP_HOSTNAME: ""
|
DOCS_SMTP_HOSTNAME: ""
|
||||||
# -- The port of the SMTP-Server which should be used
|
# -- The port of the SMTP-Server which should be used
|
||||||
DOCS_SMTP_PORT: 0
|
DOCS_SMTP_PORT: 0
|
||||||
envTpl:
|
|
||||||
DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|
||||||
envValueFrom:
|
envValueFrom:
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ env:
|
|||||||
CONFIG_USE_ENVIRONMENT_VARIABLES: true
|
CONFIG_USE_ENVIRONMENT_VARIABLES: true
|
||||||
# -- Set application to log to stdout
|
# -- Set application to log to stdout
|
||||||
LOGGER_CONSOLE: true
|
LOGGER_CONSOLE: true
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DATABASE_DRIVER: "org.postgresql.Driver"
|
DATABASE_DRIVER: "org.postgresql.Driver"
|
||||||
DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|
||||||
|
|||||||
@@ -25,8 +25,6 @@ persistence:
|
|||||||
env:
|
env:
|
||||||
# -- External URL you use to connect to the RSS (the one you enter in your browser)
|
# -- External URL you use to connect to the RSS (the one you enter in your browser)
|
||||||
TTRSS_SELF_URL_PATH: ""
|
TTRSS_SELF_URL_PATH: ""
|
||||||
|
|
||||||
envTpl:
|
|
||||||
TTRSS_DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
TTRSS_DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
TTRSS_DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
TTRSS_DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
TTRSS_DB_PORT: "5432"
|
TTRSS_DB_PORT: "5432"
|
||||||
|
|||||||
@@ -3,11 +3,6 @@ image:
|
|||||||
tag: v6.5.55@sha256:c74556ef862dab1534ed848d6efa57f40a11399172230aec57e5e850ce542921
|
tag: v6.5.55@sha256:c74556ef862dab1534ed848d6efa57f40a11399172230aec57e5e850ce542921
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
envTpl:
|
|
||||||
# Permissions Settings
|
|
||||||
UNIFI_GID: "{{ .Values.env.PUID }}"
|
|
||||||
UNIFI_UID: "{{ .Values.podSecurityContext.fsGroup }}"
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
@@ -62,6 +57,10 @@ podSecurityContext:
|
|||||||
env:
|
env:
|
||||||
# TZ:
|
# TZ:
|
||||||
PUID: 568
|
PUID: 568
|
||||||
|
# Permissions Settings
|
||||||
|
UNIFI_GID: "{{ .Values.env.PUID }}"
|
||||||
|
UNIFI_UID: "{{ .Values.podSecurityContext.fsGroup }}"
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -17,9 +17,7 @@ service:
|
|||||||
port: 3012
|
port: 3012
|
||||||
targetPort: 3012
|
targetPort: 3012
|
||||||
|
|
||||||
env: {}
|
env:
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DOMAIN: "https://{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ else }}placeholder.com{{ end }}{{ else }}placeholder.com{{ end }}"
|
DOMAIN: "https://{{ if .Values.ingress }}{{ if .Values.ingress.main.enabled }}{{ ( index .Values.ingress.main.hosts 0 ).host }}{{ else }}placeholder.com{{ end }}{{ else }}placeholder.com{{ end }}"
|
||||||
|
|
||||||
envFrom:
|
envFrom:
|
||||||
@@ -148,7 +146,6 @@ persistence:
|
|||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/data"
|
mountPath: "/data"
|
||||||
|
|
||||||
|
|
||||||
# Enabled postgres
|
# Enabled postgres
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ env:
|
|||||||
# -- Set the container timezone
|
# -- Set the container timezone
|
||||||
PUID: 568
|
PUID: 568
|
||||||
TZ: UTC
|
TZ: UTC
|
||||||
|
|
||||||
envTpl:
|
|
||||||
DB_TYPE: "postgres"
|
DB_TYPE: "postgres"
|
||||||
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
DB_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
||||||
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
DB_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user