prod: edit repo config to match real runsc deployment on instsance

This commit is contained in:
root committed 2026-11-09 15:37:19 +01:00
1 parent d707520ee8
commit 6774aed8ed
2 files changed
+25 -3

No files matched your search

+2
View File
@@ -1,6 +1,8 @@
.env .env
gitea/ gitea/
dind-data/ dind-data/
pages/
runner/.runner runner/.runner
runner/.runner.lock
runner/.cache/ runner/.cache/
*.log *.log
+23 -3
View File
@@ -6,9 +6,6 @@ networks:
ci: ci:
driver: bridge driver: bridge
volumes:
ci-workspace:
services: services:
gitea: gitea:
image: docker.gitea.com/gitea image: docker.gitea.com/gitea
@@ -27,11 +24,18 @@ services:
ports: ports:
# - "3000:3000" # - "3000:3000"
- "222:22" - "222:22"
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://localhost:3000/api/healthz || exit 1"]
interval: 5s
timeout: 5s
retries: 60
start_period: 20s
dind: dind:
build: build:
context: ./gvisor/images/basic/docker context: ./gvisor/images/basic/docker
runtime: runsc-docker runtime: runsc-docker
restart: unless-stopped
environment: environment:
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
cap_add: cap_add:
@@ -63,3 +67,19 @@ services:
# Same path as dind so workflow bind mounts like -v "$repo_dir:/app" # Same path as dind so workflow bind mounts like -v "$repo_dir:/app"
# resolve on the dind daemon too. # resolve on the dind daemon too.
- ci-workspace:/workspace - ci-workspace:/workspace
pages:
#note: listening on 3000
restart: unless-stopped
image: codeberg.org/git-pages/git-pages:latest
container_name: git-pages
networks:
- caddy
volumes:
- ./pages:/app/data
volumes:
runner-data:
runner-docker:
ci-workspace: