1
0
Fork 0

gitearunner: fix and enable

This commit is contained in:
Lukáš Kucharczyk 2023-11-16 19:11:41 +01:00
parent 1a79f40682
commit f67af2f452
1 changed files with 8 additions and 4 deletions

View File

@ -713,17 +713,21 @@ services:
depends_on: depends_on:
- gitea - gitea
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/gitearunner:/config" - "${DOCKER_STORAGE_PATH}/gitearunner/config:/config"
- "${DOCKER_STORAGE_PATH}/gitearunner/data:/data"
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
- GITEA_INSTANCE_URL=https://git.${DOMAIN} - GITEA_INSTANCE_URL=https://git.${DOMAIN}
- CONFIG_FILE=/config/config.yaml
# When using Docker Secrets, it's also possible to use # When using Docker Secrets, it's also possible to use
# GITEA_RUNNER_REGISTRATION_TOKEN_FILE to pass the location. # GITEA_RUNNER_REGISTRATION_TOKEN_FILE to pass the location.
# The env var takes precedence # The env var takes precedence
- GITEA_RUNNER_REGISTRATION_TOKEN=oR2H1CfFz7hZFU3h8S4y7Ia9jdRf0wgxBxz9TjtW - GITEA_RUNNER_REGISTRATION_TOKEN=92U7bIiADtqkILwjjj9rffjz8vyNp0zo7uaOgrIG
- GITEA_LABELS="ubuntu-latest:docker://catthehacker/ubuntu:act-latest" - GITEA_RUNNER_LABELS="ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
- GITEA_RUNNER_NAME="NAS_CONTAINER"
profiles: profiles:
- disabled - base
- infrastructure
restart: unless-stopped restart: unless-stopped
linkace: linkace: