Added additional info for gitea runner
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>main
parent
cb6909bbde
commit
58bfb589f1
|
@ -526,8 +526,11 @@ gitea:
|
||||||
runner:
|
runner:
|
||||||
host: "gitea-runner-{{ host.hostname }}"
|
host: "gitea-runner-{{ host.hostname }}"
|
||||||
token: "{{ host.gitea.runner.token }}"
|
token: "{{ host.gitea.runner.token }}"
|
||||||
|
name: "{{ host.hostname }}"
|
||||||
volumes:
|
volumes:
|
||||||
data: "{{ docker_data_dir }}/gitea/runner/data/"
|
data: "{{ docker_data_dir }}/gitea/runner/data/"
|
||||||
|
config: "{{ docker_dir }}/gitea/runner/config/"
|
||||||
|
config_file: "{{ docker_dir }}/gitea/runner/config/config.yml"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Jellyseer
|
# Jellyseer
|
||||||
|
|
|
@ -50,3 +50,4 @@ host:
|
||||||
gitea:
|
gitea:
|
||||||
runner:
|
runner:
|
||||||
token: "{{ vault.aya01.gitea.runner.token }}"
|
token: "{{ vault.aya01.gitea.runner.token }}"
|
||||||
|
name: "aya01"
|
||||||
|
|
|
@ -477,10 +477,14 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- "{{ gitea.runner.config_file }}:/config.yaml"
|
||||||
|
- "{{ gitea.runner.volumes.data }}:/data"
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
environment:
|
environment:
|
||||||
- "GITEA_INSTANCE_URL={{ gitea.url }}"
|
- "GITEA_INSTANCE_URL={{ gitea.url }}"
|
||||||
- "GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner.token }}"
|
- "GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner.token }}"
|
||||||
|
- "GITEA_RUNNER_NAME: {{ gitea.runner.name }}"
|
||||||
|
- "CONFIG_FILE: /config.yaml"
|
||||||
|
|
||||||
{{ jellyseer.host }}:
|
{{ jellyseer.host }}:
|
||||||
container_name: {{ jellyseer.host }}
|
container_name: {{ jellyseer.host }}
|
||||||
|
|
|
@ -24,11 +24,13 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- "{{ gitea.runner.config_file }}:/config.yaml"
|
||||||
- {{ gitea.runner.volumes.data }}:/data
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
environment:
|
environment:
|
||||||
- "GITEA_INSTANCE_URL={{ gitea.url }}"
|
- "GITEA_INSTANCE_URL={{ gitea.url }}"
|
||||||
- "GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner.token }}"
|
- "GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner.token }}"
|
||||||
|
- "GITEA_RUNNER_NAME: {{ gitea.runner.name }}"
|
||||||
|
- "CONFIG_FILE: /config.yaml"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
net:
|
net:
|
||||||
|
|
Loading…
Reference in New Issue