feat: Adds config and updates compose file to include cache.
This commit is contained in:
@@ -10,6 +10,8 @@ services:
|
|||||||
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
|
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
|
||||||
GITEA_RUNNER_NAME: "${GITEA_RUNNER_NAME}"
|
GITEA_RUNNER_NAME: "${GITEA_RUNNER_NAME}"
|
||||||
GITEA_RUNNER_LABELS: "${GITEA_RUNNER_LABELS}"
|
GITEA_RUNNER_LABELS: "${GITEA_RUNNER_LABELS}"
|
||||||
|
ports:
|
||||||
|
- 8088:8088
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.yaml:/config.yaml
|
- ./config.yaml:/config.yaml
|
||||||
- act_runner_data:/data
|
- act_runner_data:/data
|
||||||
|
|||||||
8
config.yaml
Normal file
8
config.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# https://docs.gitea.com/usage/actions/act-runner
|
||||||
|
cache:
|
||||||
|
enabled: true
|
||||||
|
dir: ""
|
||||||
|
# Use the LAN IP obtained in step 1
|
||||||
|
host: "192.168.50.4"
|
||||||
|
# Use the port number obtained in step 2
|
||||||
|
port: 8088
|
||||||
Reference in New Issue
Block a user