feat: add .env.example for all
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user