Add Gitea Runner docker compose
This commit is contained in:
parent
f610cf2c00
commit
5e42d6f34f
|
|
@ -11,6 +11,9 @@ HOST_IP="192.168.1.100"
|
||||||
WG_HOST=example.duckdns.org
|
WG_HOST=example.duckdns.org
|
||||||
WG_DNS=1.1.1.1
|
WG_DNS=1.1.1.1
|
||||||
|
|
||||||
|
LOCAL_DOMAIN=local.example.duckdns.org
|
||||||
|
GITEA_RUNNER_TOKEN=0123456789abcdef0123456789abcdef01234567
|
||||||
|
|
||||||
PUID=1000
|
PUID=1000
|
||||||
PGID=1000
|
PGID=1000
|
||||||
TZ="Europe/Zurich"
|
TZ="Europe/Zurich"
|
||||||
14
gitea-runner/docker-compose.yml
Normal file
14
gitea-runner/docker-compose.yml
Normal 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
|
||||||
Loading…
Reference in a new issue