-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from bbkz/dev
Release 0.2.1 * fixes #54 Database migration fails * fix celery redis password * update development setup
- Loading branch information
Showing
5 changed files
with
99 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
--- | ||
# | ||
# Development Setup | ||
# see -> https://https://github.com/wger-project/helm-charts/blob/master/DEVEL.md | ||
# | ||
# Have a look at the packaged values.yaml for defaults and more settings: | ||
# * https://github.com/wger-project/helm-charts/blob/master/charts/wger/values.yaml | ||
# | ||
# App settings | ||
app: | ||
global: | ||
replicas: 1 | ||
# image: | ||
# PullPolicy: IfNotPresent | ||
nginx: | ||
enabled: true | ||
axes: | ||
enabled: true | ||
failureLimit: 10 | ||
# in minutes | ||
cooloffTime: 30 | ||
# number of reverse proxies involved | ||
ipwareProxyCount: 1 | ||
# order of magnitude from last proxy for the real ip | ||
ipwareMetaPrecedenceOrder: "X_FORWARDED_FOR,REMOTE_ADDR" | ||
persistence: | ||
enabled: true | ||
environment: | ||
- name: CSRF_TRUSTED_ORIGINS | ||
value: "http://localhost:10001,http://127.0.0.1:10001" | ||
- name: GUNICORN_CMD_ARGS | ||
value: "--timeout 240 --workers 2 --worker-class gthread --threads 3 --forwarded-allow-ips * --proxy-protocol True --access-logformat='%(h)s %(l)s %({client-ip}i)s %(l)s %({x-real-ip}i)s %(l)s %({x-forwarded-for}i)s %(l)s %(t)s \"%(r)s\" %(s)s %(b)s \"%(f)s\" \"%(a)s\"' --access-logfile - --error-logfile -" | ||
|
||
celery: | ||
enabled: true | ||
|
||
ingress: | ||
enabled: false | ||
|
||
postgres: | ||
enabled: true | ||
settings: | ||
superuser: | ||
value: postgres | ||
superuserPassword: | ||
value: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||
userDatabase: | ||
name: | ||
value: wger | ||
user: | ||
value: wger | ||
password: | ||
value: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||
service: | ||
port: 5432 | ||
|
||
redis: | ||
enabled: true | ||
auth: | ||
enabled: true | ||
# Additional environment variables (Redis server and Sentinel) | ||
env: | ||
- name: REDIS_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: redis | ||
key: redis-password | ||
# Arguments for the container entrypoint process (Redis server) | ||
args: | ||
- "--requirepass $(REDIS_PASSWORD)" | ||
service: | ||
serverPort: 6379 |