docker-cache: fix port

This commit is contained in:
Nico Schottelius 2021-12-04 21:15:42 +01:00
parent 2ea07fba63
commit 0c573e0788
2 changed files with 6 additions and 10 deletions

View File

@ -3,15 +3,12 @@ server {
listen [::]:443 ssl http2;
server_name {{ tpl .Values.fqdn . }};
# Use Mozilla's guidelines for SSL/TLS settings
# https://mozilla.github.io/server-side-tls/ssl-config-generator/
ssl_certificate /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ tpl .Values.fqdn . }}/privkey.pem;
client_max_body_size 1024m;
location / {
proxy_pass http://localhost:3000;
proxy_pass http://localhost:5000;
}
}

View File

@ -8,6 +8,8 @@ spec:
matchLabels:
app: {{ .Release.Name }}-registry
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
@ -44,12 +46,9 @@ spec:
image: registry:{{ .Chart.AppVersion }}
ports:
- containerPort: 5000
# env:
# - name: SYNAPSE_CONFIG_PATH
# value: "/baseconfig/homeserver.yaml"
# - name: SYNAPSE_CONFIG_DIR
# value: "/config"
env:
- name: REGISTRY_PROXY_REMOTEURL
value: https://registry-1.docker.io
volumeMounts:
- name: data
mountPath: "/var/lib/registry"