Initial Gitea Runner implementation
This commit is contained in:
1 parent
42a276b5d4
commit
45ce33d64e
5 files changed
+328
-2
No files matched your search
@@ -1,4 +1,3 @@
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
@@ -36,3 +35,16 @@ services:
|
||||
POSTGRESS_DB: gitea
|
||||
volumes:
|
||||
- "{{ data_dir }}/postgres/gitea:/var/lib/postgresql/data"
|
||||
|
||||
runner:
|
||||
image: docker.io/gitea/runner:3
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
CONFIG_FILE: /config/config.yaml
|
||||
GITEA_INSTANCE_URL: "https://git.{{ personal_domain }}"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ runner_registration_token }}"
|
||||
volumes:
|
||||
- "{{ data_dir }}/gitea/runner/config:/config"
|
||||
- "{{ data_dir }}/gitea/runner/data:/data"
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
Reference in new issue
Block a user