First commit
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
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"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
networks:
|
||||
act_runner:
|
||||
|
||||
networks:
|
||||
act_runner:
|
||||
name: act_runner
|
||||
Reference in New Issue
Block a user