feat(gitea): add act_runner service and deployment specification
This commit is contained in:
1 parent
adb8a4595f
commit
52fabdd1fb
2 files changed
+23
No files matched your search
@@ -10,6 +10,12 @@ networks:
|
||||
env:
|
||||
SSH_DOMAIN: "gitea.roadtotech.me"
|
||||
SSH_PORT: "2223"
|
||||
GITEA_RUNNER_TOKEN: ""
|
||||
deployment:
|
||||
branch: "main"
|
||||
actions:
|
||||
- git_pull
|
||||
- compose_up
|
||||
homepage:
|
||||
title: "Gitea"
|
||||
group: "Development & AI"
|
||||
|
||||
@@ -37,6 +37,23 @@ services:
|
||||
# Service definition
|
||||
- "traefik.http.services.${CONTAINER_NAME:-gitea}-svc.loadbalancer.server.port=3000"
|
||||
|
||||
runner:
|
||||
image: gitea/act_runner:latest
|
||||
container_name: ${CONTAINER_NAME:-gitea}-runner
|
||||
restart: always
|
||||
environment:
|
||||
- GITEA_INSTANCE_URL=https://${SERVICE_DOMAIN}
|
||||
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_TOKEN:-}
|
||||
- GITEA_RUNNER_NAME=homelab-runner
|
||||
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:18-bullseye,ubuntu-22.04:docker://node:18-bullseye
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ${DATA_PATH:-./data}/runner:/data
|
||||
networks:
|
||||
- proxy-net
|
||||
depends_on:
|
||||
- gitea
|
||||
|
||||
networks:
|
||||
proxy-net:
|
||||
name: ${PROXY_NETWORK:-proxy-net}
|
||||
|
||||
Reference in new issue
Block a user