Add Gitea Runner docker compose

This commit is contained in:
TheThomaas 2023-05-24 18:04:21 +02:00
parent f610cf2c00
commit 5e42d6f34f
2 changed files with 17 additions and 0 deletions

View file

@ -11,6 +11,9 @@ HOST_IP="192.168.1.100"
WG_HOST=example.duckdns.org
WG_DNS=1.1.1.1
LOCAL_DOMAIN=local.example.duckdns.org
GITEA_RUNNER_TOKEN=0123456789abcdef0123456789abcdef01234567
PUID=1000
PGID=1000
TZ="Europe/Zurich"

View file

@ -0,0 +1,14 @@
services:
gitea_runner:
image: vegardit/gitea-act-runner:latest
container_name: gitea_runner
volumes:
# Config
- $APPDATA/gitea_runner:/data
# Other
- /var/run/docker.sock:/var/run/docker.sock:rw
environment:
TZ: $TZ
GITEA_INSTANCE_URL: 'https://gitea.${LOCAL_DOMAIN}'
GITEA_RUNNER_REGISTRATION_TOKEN: $GITEA_RUNNER_TOKEN
restart: unless-stopped