feat: add orchestrator scripts and Docker setup for droplet management; include SSH key handling and environment configuration

This commit is contained in:
2025-09-23 15:25:56 +08:00
parent 975035a54a
commit f4c7a98b6a
7 changed files with 214 additions and 8 deletions

20
runner/docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
services:
runner:
image: vegardit/gitea-act-runner:dind-latest
container_name: runner
privileged: true
restart: always
user: act
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: https://git.btwazure.com
GITEA_RUNNER_REGISTRATION_TOKEN: oks0bYdhBLfuxhxAMpoWbYt0JyVfKATFsBz41lKo
GITEA_RUNNER_NAME: runner-${RUNNER_ID}
GITEA_RUNNER_LABELS: "${RUNNER_ID}:docker://catthehacker/ubuntu:js-22.04,ubuntu-js-latest:docker://catthehacker/ubuntu:js-22.04"
# GITEA_RUNNER_LABELS: "gitea-orchestrator:docker://catthehacker/ubuntu:runner-22.04"
TZ: Asia/Jakarta
volumes:
- ./config.yaml:/config.yaml
- ./data:/data
stdin_open: true
tty: true