Remove comments v2

This commit is contained in:
2025-07-19 20:30:14 +05:30
parent 433fc0b2a7
commit 948b0575b9
7 changed files with 114 additions and 250 deletions

View File

@@ -1,20 +1,14 @@
# Gitea Actions Runner Configuration
services:
gitea_runner:
# Basic container configuration
container_name: gitea_runner
image: docker.io/gitea/act_runner:0.2.12
restart: unless-stopped
# Runner configuration environment variables
environment:
CONFIG_FILE: /config.yaml # Path to configuration file
GITEA_INSTANCE_URL: "${INSTANCE_URL}" # URL of Gitea instance
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}" # Registration token
GITEA_RUNNER_NAME: "${RUNNER_NAME}" # Display name for runner
# Persistent storage and docker socket configuration
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "${RUNNER_NAME}"
volumes:
- ./config.yaml:/config.yaml # Runner configuration file
- ./data:/data # Persistent runner data
- /var/run/docker.sock:/var/run/docker.sock # Docker socket for container jobs
- ./config.yaml:/config.yaml
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock