29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
# Generated by OpenTofu from var.dev_runner_count - do not hand-edit.
|
|
# To change the number of runners, edit dev_runner_count in terraform.tfvars and
|
|
# run tofu apply. To change their shape, edit
|
|
# infra/modules/dev/templates/runners-docker-compose.yml.tftpl instead.
|
|
#
|
|
# 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.
|
|
services:
|
|
runner-1:
|
|
image: gitea/act_runner:latest
|
|
container_name: gitea_runner_1
|
|
volumes:
|
|
- ./config.yaml:/config.yaml
|
|
- ./gitea_runner_1:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
networks:
|
|
- proxy
|
|
environment:
|
|
CONFIG_FILE: /config.yaml
|
|
GITEA_INSTANCE_URL: "https://git.luke-else.co.uk"
|
|
GITEA_RUNNER_REGISTRATION_TOKEN: "${GITEA_RUNNER_REGISTRATION_TOKEN}"
|
|
GITEA_RUNNER_NAME: "CICD#1"
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|