fix: setup forgejo with manual runner registration
This commit is contained in:
parent
77418ef60b
commit
9b23ba183b
1 changed files with 1 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ services:
|
|||
- GITEA__database__DB_TYPE=sqlite3
|
||||
- TZ=Asia/Ho_Chi_Minh
|
||||
- GITEA__actions__ENABLED=true
|
||||
- INSTALL_LOCK=true
|
||||
restart: always
|
||||
networks:
|
||||
- forgejo_custom_net
|
||||
|
|
@ -30,8 +31,6 @@ services:
|
|||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./runner-data:/data
|
||||
entrypoint: >
|
||||
sh -c "if [ ! -f /data/.runner ]; then forgejo-runner register --no-interactive --instance http://server:3000 --token xP3IdP05YPJJZ504z7UzK90njFFzQnX4d77cJiCN --name synology-runner --labels ubuntu-latest:docker://node:20-bookworm,ubuntu-22.04:docker://node:20-bookworm,docker:host; fi; forgejo-runner daemon"
|
||||
environment:
|
||||
- TZ=Asia/Ho_Chi_Minh
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue