modified: services/myLimbo-casa-gitea-act-runner/docker-compose.yml
This commit is contained in:
@@ -18,7 +18,7 @@ services:
|
|||||||
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
|
- GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}
|
||||||
- GITEA_RUNNER_NAME=myLimbo-casa-gitea-act-runner
|
- GITEA_RUNNER_NAME=myLimbo-casa-gitea-act-runner
|
||||||
#- GITEA_RUNNER_CONFIG_FILE="/config/config.yaml"
|
#- GITEA_RUNNER_CONFIG_FILE="/config/config.yaml"
|
||||||
- GITEA_RUNNER_LABELS=myLimbo-casa-gitea-act-runner
|
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
- source: act-runner-config
|
- source: act-runner-config
|
||||||
@@ -27,13 +27,16 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
myLimbo-casa-gitea-act-runner-data:
|
myLimbo-casa-gitea-act-runner-data:
|
||||||
|
name: myLimbo-casa-gitea-act-runner-data
|
||||||
myLimbo-casa-gitea-act-runner-config:
|
myLimbo-casa-gitea-act-runner-config:
|
||||||
|
name: myLimbo-casa-gitea-act-runner-config
|
||||||
|
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
act-runner-config:
|
act-runner-config:
|
||||||
content: |
|
content: |
|
||||||
# Example configuration file, it's safe to copy this as the default config file without any modification.
|
# Example configuration file, it's safe to copy this as the default config file without any modification.
|
||||||
|
|
||||||
# You don't have to copy this file to your instance,
|
# You don't have to copy this file to your instance,
|
||||||
# just run `./act_runner generate-config > config.yaml` to generate a config file.
|
# just run `./act_runner generate-config > config.yaml` to generate a config file.
|
||||||
|
|
||||||
@@ -66,7 +69,16 @@ configs:
|
|||||||
fetch_timeout: 5s
|
fetch_timeout: 5s
|
||||||
# The interval for fetching the job from the Gitea instance.
|
# The interval for fetching the job from the Gitea instance.
|
||||||
fetch_interval: 2s
|
fetch_interval: 2s
|
||||||
|
# The labels of a runner are used to determine which jobs the runner can run, and how to run them.
|
||||||
|
# Like: "macos-arm64:host" or "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
|
||||||
|
# Find more images provided by Gitea at https://gitea.com/gitea/runner-images .
|
||||||
|
# If it's empty when registering, it will ask for inputting labels.
|
||||||
|
# If it's empty when execute `daemon`, will use labels in `.runner` file.
|
||||||
|
labels:
|
||||||
|
- "myLimbo-casa-gitea-act-runner:docker://gitea/runner-images:ubuntu-latest"
|
||||||
|
#- "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
|
||||||
|
#- "ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"
|
||||||
|
#- "ubuntu-20.04:docker://gitea/runner-images:ubuntu-20.04"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
# Enable cache server to use actions/cache.
|
# Enable cache server to use actions/cache.
|
||||||
@@ -115,7 +127,7 @@ configs:
|
|||||||
# If it's empty, act_runner will find an available docker host automatically.
|
# If it's empty, act_runner will find an available docker host automatically.
|
||||||
# If it's "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers.
|
# If it's "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to the job containers and service containers.
|
||||||
# If it's not empty or "-", the specified docker host will be used. An error will be returned if it doesn't work.
|
# If it's not empty or "-", the specified docker host will be used. An error will be returned if it doesn't work.
|
||||||
#docker_host: ""
|
docker_host: ""
|
||||||
# Pull docker image(s) even if already present
|
# Pull docker image(s) even if already present
|
||||||
force_pull: true
|
force_pull: true
|
||||||
# Rebuild docker image(s) even if already present
|
# Rebuild docker image(s) even if already present
|
||||||
@@ -125,3 +137,4 @@ configs:
|
|||||||
# The parent directory of a job's working directory.
|
# The parent directory of a job's working directory.
|
||||||
# If it's empty, $HOME/.cache/act/ will be used.
|
# If it's empty, $HOME/.cache/act/ will be used.
|
||||||
workdir_parent:
|
workdir_parent:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user