Configure runner cache (#57)

https://docs.gitea.com/usage/actions/act-runner#configuring-cache-when-starting-a-runner-using-docker-image
This commit was merged in pull request #57.
This commit is contained in:
2023-10-04 12:26:10 -05:00
committed by GitHub
parent 15859058ad
commit 8bbad17ba1
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -36,10 +36,10 @@ cache:
# The host of the cache server.
# It's not for the address to listen, but the address to connect from job containers.
# So 0.0.0.0 is a bad choice, leave it empty to detect automatically.
host: ""
host: "gitea.local"
# The port of the cache server.
# 0 means to use a random available port.
port: 0
port: 8088
container:
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-Docker).
+2
View File
@@ -57,3 +57,5 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
- ./act-runner:/data
- ./config:/config:ro
ports:
- 8088:8088