generated from DAM/ts-TEMPLATE
manual init
This commit is contained in:
parent
9ae1a7fb7f
commit
97a46e770c
@ -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
|
||||
- runner-ts
|
Loading…
x
Reference in New Issue
Block a user