feat: Adds config and updates compose file to include cache.

This commit is contained in:
2025-03-19 14:27:50 -04:00
parent d706f43ae9
commit 720b73a9ae
2 changed files with 10 additions and 0 deletions

View File

@@ -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
View 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