Fix matrix-registration volume mounts
This commit is contained in:
parent
63f60aad14
commit
644481d706
@ -11,7 +11,7 @@ data:
|
|||||||
base_url: {{ .Values.serverBaseUrl }}
|
base_url: {{ .Values.serverBaseUrl }}
|
||||||
client_redirect: 'https://app.element.io/#/login'
|
client_redirect: 'https://app.element.io/#/login'
|
||||||
client_logo: 'static/images/element-logo.png' # use '{cwd}' for current working directory
|
client_logo: 'static/images/element-logo.png' # use '{cwd}' for current working directory
|
||||||
db: 'sqlite:///data/db.sqlite3'
|
db: 'sqlite:////data/db.sqlite3'
|
||||||
host: '0.0.0.0'
|
host: '0.0.0.0'
|
||||||
port: 5000
|
port: 5000
|
||||||
rate_limit: ["100 per day", "10 per minute"]
|
rate_limit: ["100 per day", "10 per minute"]
|
||||||
|
@ -26,14 +26,16 @@ spec:
|
|||||||
- image: zeratax/matrix-registration:{{ printf "v%s" .Chart.AppVersion }}
|
- image: zeratax/matrix-registration:{{ printf "v%s" .Chart.AppVersion }}
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: matrix-registration
|
name: matrix-registration
|
||||||
args: ["serve"]
|
args: ["serve", "--config-path", "/config/config.yaml"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5000
|
- containerPort: 5000
|
||||||
name: web
|
name: web
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data/config
|
- mountPath: /config
|
||||||
name: matrix-registration
|
name: matrix-registration
|
||||||
|
- mountPath: /data
|
||||||
|
name: data
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: matrix-registration
|
- name: matrix-registration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user