From e8f7d69002671908514fcb17e8f8b6b4c4da12ca Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Tue, 21 Nov 2023 23:20:53 +0100 Subject: [PATCH] Fix cache --- roles/gitea/templates/config.yml | 5 ++++- roles/gitea/templates/docker-compose.yml | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/gitea/templates/config.yml b/roles/gitea/templates/config.yml index f61bf10..60012d5 100644 --- a/roles/gitea/templates/config.yml +++ b/roles/gitea/templates/config.yml @@ -1,5 +1,8 @@ cache: enabled: true dir: "" - host: 0.0.0.0 + host: "" port: 8088 + +container: + network: "gitea_default" diff --git a/roles/gitea/templates/docker-compose.yml b/roles/gitea/templates/docker-compose.yml index a0788b8..aa4212a 100644 --- a/roles/gitea/templates/docker-compose.yml +++ b/roles/gitea/templates/docker-compose.yml @@ -45,8 +45,6 @@ services: restart: unless-stopped depends_on: - gitea - ports: - - 8088:8088 volumes: - ./config.yml:/config.yml - {{ server.work_dir }}/gitea/runner/:/data