docker-cache: fix port
This commit is contained in:
parent
2ea07fba63
commit
0c573e0788
2 changed files with 6 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue