diff --git a/docker-compose.yml b/docker-compose.yml index 72aa767..1ae868f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,8 @@ services: - {{service}}-ts: + runner-ts: image: tailscale/tailscale:latest - hostname: {{service}} - container_name: {{service}}-ts + hostname: runner + container_name: runner-ts environment: - TS_AUTHKEY={{YOUR_TAILSCALE_AUTHKEY}} - TS_STATE_DIR=/var/lib/tailscale @@ -15,7 +15,18 @@ services: - net_admin - sys_module restart: unless-stopped - {{service-compose}} - network_mode: service:{{service}}-ts + runner: + image: docker.io/gitea/act_runner:nightly + environment: + CONFIG_FILE: /config.yaml + GITEA_INSTANCE_URL: "https://gitea.damconsulting.llc" + GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}" + GITEA_RUNNER_NAME: "${RUNNER_NAME}" + GITEA_RUNNER_LABELS: "${RUNNER_LABELS}" + volumes: + - ./runner/config.yaml:/config.yaml + - ./runner/data:/data + # - /var/run/docker.sock:/var/run/docker.sock + network_mode: service:runner-ts depends_on: - - {{service}}-ts \ No newline at end of file + - runner-ts \ No newline at end of file