joined with ubuntu runner
This commit is contained in:
@@ -48,6 +48,25 @@ services:
|
||||
- gitea-db:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
runner:
|
||||
image: docker.io/gitea/act_runner:latest
|
||||
environment:
|
||||
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
|
||||
GITEA_RUNNER_NAME: "${RUNNER_NAME}"
|
||||
GITEA_RUNNER_LABELS: "${RUNNER_LABELS}"
|
||||
depends_on:
|
||||
- db
|
||||
- server
|
||||
volumes:
|
||||
- /gitea/data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
|
||||
volumes:
|
||||
gitea-data:
|
||||
driver: local
|
||||
|
||||
@@ -3,3 +3,8 @@
|
||||
POSTGRES_DB = ""
|
||||
POSTGRES_USER = ""
|
||||
POSTGRES_PASSWORD = ""
|
||||
|
||||
INSTANCE_URL = 'https://gitshop.cc'
|
||||
REGISTRATION_TOKEN =
|
||||
RUNNER_NAME = 'ubuntu-22, latest'
|
||||
RUNNER_LABELS = 'ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster'
|
||||
|
||||
Reference in New Issue
Block a user