diff --git a/gitea/config/act-runner-config.yml b/gitea/config/act-runner-config.yml index 3ca3583..f21e435 100644 --- a/gitea/config/act-runner-config.yml +++ b/gitea/config/act-runner-config.yml @@ -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). diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml index 1426b40..9c0ad45 100644 --- a/gitea/docker-compose.yml +++ b/gitea/docker-compose.yml @@ -57,3 +57,5 @@ services: - /var/run/docker.sock:/var/run/docker.sock - ./act-runner:/data - ./config:/config:ro + ports: + - 8088:8088