gitea: fix deployment to properly point to docker

This commit is contained in:
2025-03-13 13:11:31 -04:00
parent aef2f4cc4e
commit a5ef81203e

View File

@@ -27,7 +27,7 @@ spec:
command: ["sh", "-c", "while ! nc -z localhost 2376 </dev/null; do echo 'waiting for docker daemon...'; sleep 5; done; /sbin/tini -- run.sh"]
env:
- name: DOCKER_HOST
value: tcp://localhost:2376
value: tcp://docker:2376
- name: DOCKER_CERT_PATH
value: /certs/client
- name: DOCKER_TLS_VERIFY
@@ -44,11 +44,19 @@ spec:
mountPath: /certs
- name: runner-data
mountPath: /data
resources:
limits:
memory: "512Mi"
cpu: "500m"
- name: daemon
image: docker:23.0.6-dind
env:
- name: DOCKER_TLS_CERTDIR
value: /certs
resources:
limits:
memory: "1Gi"
cpu: "1000m"
securityContext:
privileged: true
volumeMounts: