diff --git a/apps/docker-cache/nginx/default.conf b/apps/docker-cache/nginx/default.conf index 6cced9d..c3a07ef 100644 --- a/apps/docker-cache/nginx/default.conf +++ b/apps/docker-cache/nginx/default.conf @@ -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; } } \ No newline at end of file diff --git a/apps/docker-cache/templates/deployment.yaml b/apps/docker-cache/templates/deployment.yaml index e132dd6..0efcf11 100644 --- a/apps/docker-cache/templates/deployment.yaml +++ b/apps/docker-cache/templates/deployment.yaml @@ -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"