feat: add .env.example for all

This commit is contained in:
Sun-ZhenXing
2025-09-24 22:24:11 +08:00
parent 70f39867cf
commit 0b74e7bbe8
29 changed files with 336 additions and 51 deletions

View File

@@ -0,0 +1,11 @@
# Gitea instance URL
INSTANCE_URL=http://localhost:3000
# Registration token (get from Gitea settings -> Actions -> Runners)
REGISTRATION_TOKEN=
# Runner name
RUNNER_NAME=Gitea-Runner
# Runner labels
RUNNER_LABELS=DockerRunner

View File

@@ -24,9 +24,14 @@ services:
- ./config.yaml:/config.yaml:ro
- gitea_runner_data:/data
- /var/run/docker.sock:/var/run/docker.sock
extra_hosts:
- host.docker.internal:host-gateway
deploy:
resources:
limits:
cpus: '1.0'
memory: 2G
reservations:
cpus: '0.5'
memory: 1G
volumes:
gitea_runner_data: