26 lines
742 B
YAML
26 lines
742 B
YAML
services:
|
|
act_runner:
|
|
image: "gitea/act_runner:nightly"
|
|
container_name: "Act_runner"
|
|
hostname: "Act_runner"
|
|
restart: "unless-stopped"
|
|
environment:
|
|
CONFIG_FILE: "/config.yaml"
|
|
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
|
|
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
|
|
GITEA_RUNNER_NAME: "${RUNNER_NAME}"
|
|
GITEA_RUNNER_LABELS: "${RUNNER_LABELS}"
|
|
volumes:
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "/data/docker/act_runner-prod-1/config.yaml:/config.yaml:ro"
|
|
- "/data/docker/act_runner-prod-1/data:/data:rw"
|
|
- "/var/run/docker.sock:/var/run/docker.sock:rw"
|
|
networks:
|
|
act_runner:
|
|
ports:
|
|
- "8088:8088"
|
|
|
|
networks:
|
|
act_runner:
|
|
name: act_runner
|