Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix redis connection #99

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions manifests/manyfold/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
labels:
app: manyfold
name: manyfold
spec:
replicas: 1
revisionHistoryLimit: 1
selector:
matchLabels:
Expand All @@ -23,7 +22,7 @@ spec:
volumeMounts:
- mountPath: "/libraries"
name: manyfold-libraries
environment:
env:
- name: PUID
value: "1000"
- name: PGID
Expand All @@ -46,13 +45,28 @@ spec:
valueFrom:
secretKeyRef:
name: db-app
key: pgpass
key: password
- name: SECRET_KEY_BASE
valueFrom:
secretKeyRef:
name: db-app
key: password
- name: REDIS_URL
value: redis://redis-master:6379/1
volumes:
- name: manyfold-libraries
value: redis://default:A36B6jX4BG@redis-master:6379/1
- name: MULTIUSER
value: "enabled"
- name: REGISTRATION
value: "enabled"
- name: FEDERATION
value: "enabled"
- name: SITE_NAME
value: "Openlab Augsburgs Manyfold"

volumeClaimTemplates:
- metadata:
name: manyfold-libraries
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 1Gi
1 change: 1 addition & 0 deletions manifests/manyfold/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: manyfold
annotations:
cert-manager.io/cluster-issuer: le-prod
nginx.ingress.kubernetes.io/proxy-body-size: 50m
spec:
ingressClassName: nginx
tls:
Expand Down