Comment out caddy
This commit is contained in:
+12
-13
@@ -32,19 +32,18 @@ data:
|
||||
signing_key_path: "/data/matrix.k0rb4k.net.signing.key"
|
||||
trusted_key_servers:
|
||||
- server_name: "matrix.org"
|
||||
Caddyfile: |
|
||||
# Caddyfile: |
|
||||
|
||||
http://localhost {
|
||||
reverse_proxy /_matrix/* localhost:8008
|
||||
reverse_proxy /_synapse/client/* localhost:8008
|
||||
}
|
||||
# http://localhost {
|
||||
# reverse_proxy /_matrix/* localhost:8008
|
||||
# reverse_proxy /_synapse/client/* localhost:8008
|
||||
# }
|
||||
|
||||
# http://matrix.k0rb4k.net {
|
||||
# reverse_proxy /_matrix/* localhost:8008
|
||||
# reverse_proxy /_synapse/client/* localhost:8008
|
||||
# }
|
||||
|
||||
http://matrix.k0rb4k.net {
|
||||
reverse_proxy /_matrix/* localhost:8008
|
||||
reverse_proxy /_synapse/client/* localhost:8008
|
||||
}
|
||||
|
||||
http://k0rb4k.net:8448 {
|
||||
reverse_proxy /_matrix/* localhost:8008
|
||||
}
|
||||
# http://k0rb4k.net:8448 {
|
||||
# reverse_proxy /_matrix/* localhost:8008
|
||||
# }
|
||||
|
||||
+25
-25
@@ -40,19 +40,19 @@ spec:
|
||||
storage: 20Gi
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: caddy-data
|
||||
labels:
|
||||
app: synapse
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
# apiVersion: v1
|
||||
# kind: PersistentVolumeClaim
|
||||
# metadata:
|
||||
# name: caddy-data
|
||||
# labels:
|
||||
# app: synapse
|
||||
# spec:
|
||||
# accessModes:
|
||||
# - ReadWriteOnce
|
||||
# resources:
|
||||
# requests:
|
||||
# storage: 1Gi
|
||||
# ---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
@@ -96,15 +96,15 @@ spec:
|
||||
port: 8008
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
- name: caddy
|
||||
image: docker.io/caddy:2-alpine
|
||||
volumeMounts:
|
||||
- name: caddy-data-pvc
|
||||
mountPath: /data
|
||||
- name: synapse-config
|
||||
mountPath: /etc/caddy/Caddyfile
|
||||
readOnly: true
|
||||
subPath: Caddyfile
|
||||
# - name: caddy
|
||||
# image: docker.io/caddy:2-alpine
|
||||
# volumeMounts:
|
||||
# - name: caddy-data-pvc
|
||||
# mountPath: /data
|
||||
# - name: synapse-config
|
||||
# mountPath: /etc/caddy/Caddyfile
|
||||
# readOnly: true
|
||||
# subPath: Caddyfile
|
||||
volumes:
|
||||
- name: synapse-config
|
||||
configMap:
|
||||
@@ -118,6 +118,6 @@ spec:
|
||||
- name: synapse-media-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: synapse-media
|
||||
- name: caddy-data-pvc
|
||||
persistentVolumeClaim:
|
||||
claimName: caddy-data
|
||||
# - name: caddy-data-pvc
|
||||
# persistentVolumeClaim:
|
||||
# claimName: caddy-data
|
||||
|
||||
Reference in New Issue
Block a user