add: gitea actions runner

This commit is contained in:
2026-08-18 11:00:13 +00:00
parent c052d06d63
commit e2da22026f
+18
View File
@@ -13,6 +13,7 @@ services:
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
- GITEA__service__DISABLE_REGISTRATION=true
- GITEA__actions__ENABLED=true
restart: always
mem_limit: 2g
mem_reservation: 512m
@@ -37,3 +38,20 @@ services:
mem_limit: 512m
volumes:
- /docker/gitea/postgres:/var/lib/postgresql/data
runner:
image: gitea/runner:latest-dind
container_name: gitea-runner
restart: always
privileged: true
environment:
- GITEA_INSTANCE_URL=http://server:3000
- GITEA_RUNNER_REGISTRATION_TOKEN=amwiebvSCdGa7lwRjPOFvxhp7pgTxewMEkGdXrNF
- GITEA_RUNNER_NAME=gitea-runner
- TZ=Asia/Ho_Chi_Minh
mem_limit: 2g
volumes:
- /docker/gitea/runner/data:/data
- /docker/gitea/runner/docker:/var/lib/docker
depends_on:
- server