From 6774aed8edcd194ae209d022456b17d1baaf8470 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Nov 2026 15:37:19 +0100 Subject: [PATCH] prod: edit repo config to match real runsc deployment on instsance --- .gitignore | 2 ++ docker-compose.yml | 26 +++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 403a07a..248844a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ .env gitea/ dind-data/ +pages/ runner/.runner +runner/.runner.lock runner/.cache/ *.log diff --git a/docker-compose.yml b/docker-compose.yml index fa77800..e9d84a5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,9 +6,6 @@ networks: ci: driver: bridge -volumes: - ci-workspace: - services: gitea: image: docker.gitea.com/gitea @@ -27,11 +24,18 @@ services: ports: # - "3000:3000" - "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: build: context: ./gvisor/images/basic/docker runtime: runsc-docker + restart: unless-stopped environment: DOCKER_TLS_CERTDIR: "" cap_add: @@ -63,3 +67,19 @@ services: # Same path as dind so workflow bind mounts like -v "$repo_dir:/app" # resolve on the dind daemon too. - 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: