Auto saved by Logseq

This commit is contained in:
Andrea Fazzi 2024-11-08 09:28:58 +01:00
parent a59ac614ae
commit c8179a2ff0

View file

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