Fix connection to act cache internal server

This commit is contained in:
Francesco Antognazza
2023-08-23 12:18:04 +02:00
parent a0aaf0e5a5
commit 377113c098
3 changed files with 96 additions and 95 deletions

View File

@@ -65,7 +65,7 @@
image: gitea/act_runner:latest
state: present
security_opt:
# - label=type:container_runtime_t
# - label=type:container_runtime_t
- label=disable
device:
- /dev/fuse

View File

@@ -42,7 +42,7 @@ 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: "{{ ansible_facts[vault_act_net_interface_name]['ipv4']['address'] }}"
# The port of the cache server.
# 0 means to use a random available port.
port: 8088