From c8179a2ff06ca0e30f35931fd46ea6c74437b0ee Mon Sep 17 00:00:00 2001 From: Andrea Fazzi Date: Fri, 8 Nov 2024 09:28:58 +0100 Subject: [PATCH] Auto saved by Logseq --- pages/forgejo.md | 59 ++++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/pages/forgejo.md b/pages/forgejo.md index 418424fc..a4965f5f 100644 --- a/pages/forgejo.md +++ b/pages/forgejo.md @@ -8,35 +8,36 @@ - Documentazione per l'installazione del runner - https://forgejo.org/docs/next/admin/actions/ - Per installare il runner sulla macchina che dovrà eseguire le azioni + - - ```bash` export RUNNER_VERSION=$(curl -X 'GET' https://code.forgejo.org/api/v1/repos/forgejo/runner/releases/latest | jq .name -r | cut -c 2-) `` -- Configurazione #homelab - - `docker-compose.yml` implementato per poter funzionare con #traefik - - ```yaml - networks: - proxy: - external: true - - services: - server: - image: codeberg.org/forgejo/forgejo:8 - container_name: forgejo - environment: - - USER_UID=1000 - - USER_GID=1000 - restart: unless-stopped - volumes: - - ./forgejo:/data - - /etc/timezone:/etc/timezone:ro - - /etc/localtime:/etc/localtime:ro - labels: - - traefik.http.routers.forgejo.entrypoints=websecure - - traefik.http.routers.forgejo.tls=true - - traefik.http.routers.forgejo.rule=Host(`forgejo.hackersgarage.dev`) - - traefik.http.routers.forgejo.tls.certresolver=letsencrypt - - traefik.http.services.forgejo.loadbalancer.server.port=3000 - networks: - - proxy - - default - ``` \ No newline at end of file + - Configurazione #homelab + - `docker-compose.yml` implementato per poter funzionare con #traefik + - ```yaml + networks: + proxy: + external: true + + services: + server: + image: codeberg.org/forgejo/forgejo:8 + container_name: forgejo + environment: + - USER_UID=1000 + - USER_GID=1000 + restart: unless-stopped + volumes: + - ./forgejo:/data + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + labels: + - traefik.http.routers.forgejo.entrypoints=websecure + - traefik.http.routers.forgejo.tls=true + - traefik.http.routers.forgejo.rule=Host(`forgejo.hackersgarage.dev`) + - traefik.http.routers.forgejo.tls.certresolver=letsencrypt + - traefik.http.services.forgejo.loadbalancer.server.port=3000 + networks: + - proxy + - default + ``` \ No newline at end of file