fix(wger): try some fixes (#3010)

* chore(dashdot): add some envs

* fix(wger): try some fixes
This commit is contained in:
Stavros Kois 2022-06-29 10:21:16 +03:00 committed by GitHub
parent 5cee0f60c2
commit f635a30cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 18 deletions

View File

@ -26,7 +26,7 @@ name: wger
sources:
- https://github.com/wger-project/wger
- https://github.com/wger-project/docker
version: 0.0.3
version: 0.0.4
annotations:
truecharts.org/catagories: |
- life

View File

@ -81,13 +81,6 @@ questions:
additional_attrs: true
type: dict
attrs:
- variable: site_url
label: "SITE_URL"
description: "eg. https://wger.mydomain.com"
schema:
type: string
required: true
default: ""
- variable: sync_exercises_on_startup
label: "SYNC_EXERCISES_ON_STARTUP"
schema:
@ -378,13 +371,13 @@ questions:
description: "The groupID this App of the user running the application"
schema:
type: int
default: 0
default: 1000
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
default: 1000
# Include{podSecurityContextAdvanced}
# Include{resources}

View File

@ -12,8 +12,9 @@ securityContext:
readOnlyRootFilesystem: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
env:
DJANGO_DB_ENGINE: "django.db.backends.postgresql"
@ -42,8 +43,8 @@ env:
TIME_ZONE: "{{ .Values.TZ }}"
# True, not true
WGER_USE_GUNICORN: "True"
# User Defined
SITE_URL: "{{ .Values.wger.site_url }}"
# User Defined
FROM_EMAIL: "{{ .Values.wger.from_email }}"
EXERCISE_CACHE_TTL: "{{ .Values.wger.exercise_cache_ttl }}"
EMAIL_HOST: "{{ .Values.wger.email_host }}"
@ -58,6 +59,7 @@ envFrom:
name: '{{ include "tc.common.names.fullname" . }}-wger'
wger:
# Where the backend will listen. Leave this as is, unless nginx is removed
site_url: "http://localhost:8000"
sync_exercises_on_startup: false
download_exercise_images_on_startup: false
@ -141,6 +143,11 @@ additionalContainers:
ports:
- containerPort: 80
name: main
securityContext:
runAsUser: 0
runAsGroup: 1000
readOnlyRootFilesystem: false
runAsNonRoot: false
volumeMounts:
- name: wger-config
mountPath: "/etc/nginx/conf.d/default.conf"
@ -177,3 +184,4 @@ postgresql:
redis:
enabled: true
existingSecret: "rediscreds"
redisUsername: "default"

View File

@ -19,7 +19,7 @@ name: dashdot
sources:
- https://github.com/MauriceNino/dashdot
- https://hub.docker.com/r/mauricenino/dashdot
version: 1.0.6
version: 1.0.7
annotations:
truecharts.org/catagories: |
- media

View File

@ -107,6 +107,12 @@ questions:
schema:
type: boolean
default: false
- variable: DASHDOT_ALWAYS_SHOW_PERCENTAGES
label: "DASHDOT_ALWAYS_SHOW_PERCENTAGES"
description: "To always show the current percentage of each graph in the top-left corner."
schema:
type: boolean
default: false
- variable: oswidgetsettings
label: "OS Widget Settings"
schema:
@ -114,9 +120,9 @@ questions:
default: false
show_subquestions_if: true
subquestions:
- variable: DASHDOT_DISABLE_HOST
label: "DASHDOT_DISABLE_HOST"
description: "If you want to hide the host part in the server widget"
- variable: DASHDOT_SHOW_HOST
label: "DASHDOT_SHOW_HOST"
description: "If you want to show the host part in the server widget"
schema:
type: boolean
default: false

View File

@ -24,7 +24,8 @@ env:
# DASHDOT_ACCEPT_OOKLA_EULA: true
# DASHDOT_USE_IMPERIAL: false
# DASHDOT_DISABLE_INTEGRATIONS: false
# DASHDOT_DISABLE_HOST: false
# DASHDOT_SHOW_HOST: true
# DASHDOT_ALWAYS_SHOW_PERCENTAGES: false
# DASHDOT_OS_LABEL_LIST: "os,arch,up_since"
# DASHDOT_OS_WIDGET_GROW: "1.5"
# DASHDOT_OS_WIDGET_MIN_WIDTH: "300"