feat: Added automatic script copying functionality
This commit is contained in:
@@ -6,13 +6,18 @@
|
||||
# GITEA_RUNNER_REGISTRATION_TOKEN is intentionally left as a compose variable
|
||||
# (not baked in here) - services/dev/spinup.sh generates a fresh token and
|
||||
# writes it to Runners/.env immediately before starting these containers.
|
||||
#
|
||||
# /data lives on dev's volume (/mnt/HC_Volume_PENDING_TOFU_APPLY) so runner
|
||||
# identity survives a server rebuild - baked in directly rather than via .env,
|
||||
# since Runners/.env is already reserved for the registration token above and
|
||||
# gets overwritten on every deploy.
|
||||
services:
|
||||
runner-1:
|
||||
image: gitea/act_runner:latest
|
||||
container_name: gitea_runner_1
|
||||
volumes:
|
||||
- ./config.yaml:/config.yaml
|
||||
- ./gitea_runner_1:/data
|
||||
- /mnt/HC_Volume_PENDING_TOFU_APPLY/gitea_runner_1:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
Reference in New Issue
Block a user