Files
server-infra/gitea/docker-compose.yml
Deeman 215fef2be3 feat: add act_runner service for Gitea Actions
Runs alongside Gitea, mounts Docker socket for Docker-based workflows.
Token passed via GITEA_RUNNER_TOKEN env var (set in gitea/.env on server).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 01:47:25 +01:00

30 lines
799 B
YAML

services:
gitea:
image: gitea/gitea:latest
container_name: gitea
restart: always
ports:
- "127.0.0.1:3100:3000"
- "2222:22"
volumes:
- /data/server-infra/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- GITEA__database__DB_TYPE=sqlite3
- GITEA__service__DISABLE_REGISTRATION=true
act_runner:
image: gitea/act_runner:latest
container_name: act_runner
restart: always
depends_on:
- gitea
volumes:
- /data/server-infra/act_runner:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
- GITEA_INSTANCE_URL=https://git.padelnomics.io
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_TOKEN}
- GITEA_RUNNER_NAME=hetzner