Comment out caddy

This commit is contained in:
2025-04-16 23:01:07 +02:00
parent 8681cc1d35
commit 9a7810ef82
2 changed files with 37 additions and 38 deletions
+12 -13
View File
@@ -32,19 +32,18 @@ data:
signing_key_path: "/data/matrix.k0rb4k.net.signing.key" signing_key_path: "/data/matrix.k0rb4k.net.signing.key"
trusted_key_servers: trusted_key_servers:
- server_name: "matrix.org" - server_name: "matrix.org"
Caddyfile: | # Caddyfile: |
http://localhost { # http://localhost {
reverse_proxy /_matrix/* localhost:8008 # reverse_proxy /_matrix/* localhost:8008
reverse_proxy /_synapse/client/* 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 { # http://k0rb4k.net:8448 {
reverse_proxy /_matrix/* localhost:8008 # reverse_proxy /_matrix/* localhost:8008
reverse_proxy /_synapse/client/* localhost:8008 # }
}
http://k0rb4k.net:8448 {
reverse_proxy /_matrix/* localhost:8008
}
+25 -25
View File
@@ -40,19 +40,19 @@ spec:
storage: 20Gi storage: 20Gi
--- ---
apiVersion: v1 # apiVersion: v1
kind: PersistentVolumeClaim # kind: PersistentVolumeClaim
metadata: # metadata:
name: caddy-data # name: caddy-data
labels: # labels:
app: synapse # app: synapse
spec: # spec:
accessModes: # accessModes:
- ReadWriteOnce # - ReadWriteOnce
resources: # resources:
requests: # requests:
storage: 1Gi # storage: 1Gi
--- # ---
apiVersion: v1 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
@@ -96,15 +96,15 @@ spec:
port: 8008 port: 8008
initialDelaySeconds: 15 initialDelaySeconds: 15
periodSeconds: 10 periodSeconds: 10
- name: caddy # - name: caddy
image: docker.io/caddy:2-alpine # image: docker.io/caddy:2-alpine
volumeMounts: # volumeMounts:
- name: caddy-data-pvc # - name: caddy-data-pvc
mountPath: /data # mountPath: /data
- name: synapse-config # - name: synapse-config
mountPath: /etc/caddy/Caddyfile # mountPath: /etc/caddy/Caddyfile
readOnly: true # readOnly: true
subPath: Caddyfile # subPath: Caddyfile
volumes: volumes:
- name: synapse-config - name: synapse-config
configMap: configMap:
@@ -118,6 +118,6 @@ spec:
- name: synapse-media-pvc - name: synapse-media-pvc
persistentVolumeClaim: persistentVolumeClaim:
claimName: synapse-media claimName: synapse-media
- name: caddy-data-pvc # - name: caddy-data-pvc
persistentVolumeClaim: # persistentVolumeClaim:
claimName: caddy-data # claimName: caddy-data