Add act_runner
This commit is contained in:
parent
15f1f6e415
commit
9db6513f75
2 changed files with 17 additions and 2 deletions
|
@ -26,4 +26,7 @@ protonmail:
|
|||
initialized: false
|
||||
|
||||
vaultwarden:
|
||||
admin_token: token
|
||||
admin_token: token
|
||||
|
||||
gitea:
|
||||
runner_registration_token: token
|
|
@ -29,7 +29,7 @@ services:
|
|||
- traefik.http.routers.gitea-secure.tls.certresolver=sslResolver
|
||||
- traefik.http.routers.gitea-secure.service=gitea
|
||||
- traefik.http.services.gitea.loadbalancer.server.port=3000
|
||||
# TCP SSH Reverse proxy Gitlab
|
||||
# TCP SSH Reverse proxy Gitea
|
||||
- traefik.tcp.routers.gitea-ssh.rule=HostSNI(`*`)
|
||||
- traefik.tcp.routers.gitea-ssh.entrypoints=ssh
|
||||
- traefik.tcp.routers.gitea-ssh.service=gitea-ssh
|
||||
|
@ -40,6 +40,18 @@ services:
|
|||
loki-url: "https://lokidoki:vEGH5Z5siWgcDkNknvCVzPCyqhHSBJCBjeBRZJvxUP8SdgfxJ6AqCGutCWugGsx5@loki.mrdev023.fr/loki/api/v1/push"
|
||||
mode: non-blocking
|
||||
|
||||
runner:
|
||||
image: gitea/act_runner
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- gitea
|
||||
volumes:
|
||||
- {{ server.work_dir }}/gitea/runner/:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- GITEA_INSTANCE_URL=https://gitea.{{ server.domain }}
|
||||
- GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner_registration_token }}
|
||||
|
||||
networks:
|
||||
interne:
|
||||
metrics:
|
||||
|
|
Loading…
Reference in a new issue