From be7f9a65a9cd6cd0d9ffaa0534a6f1f3b6a2ba50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Thu, 5 Sep 2024 20:07:06 +0100 Subject: [PATCH] modified: README.md --- README.md | 42 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0bf2c2b..5ffb400 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Gitea -- [Gitea](#gitea) - - [Links](#links) - - [Backup And Restore](#backup-and-restore) - - [Gitea dump from docker host](#gitea-dump-from-docker-host) - - [nginx](#nginx) - - [Other References](#other-references) +- [Links](#links) +- [Backup And Restore](#backup-and-restore) + - [Gitea dump from docker host](#gitea-dump-from-docker-host) +- [nginx](#nginx) +- [gitea action runner](#gitea-action-runner) +- [Other References](#other-references) ## Links @@ -44,6 +44,36 @@ _Source - https://docs.gitea.io/en-us/backup-and-restore/_ } ``` + + +## gitea action runner + +docker compose + +``` yaml +... + gitea: + image: gitea/gitea + ... + + runner: + image: gitea/act_runner + restart: always + depends_on: + - gitea + volumes: + - ./data/act_runner:/data + - /var/run/docker.sock:/var/run/docker.sock + environment: + - GITEA_INSTANCE_URL= + # When using Docker Secrets, it's also possible to use + # GITEA_RUNNER_REGISTRATION_TOKEN_FILE to pass the location. + # The env var takes precedence. + # Needed only for the first start. + - GITEA_RUNNER_REGISTRATION_TOKEN= +``` +https://gitea.com/gitea/act_runner/src/branch/main/examples/docker-compose + ## Other References - limbosolutions gitea hosting https://git.limbosolutions.com (chech the git repository https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com )