1
0
Fork 0

gitea, gitearunner: add

This commit is contained in:
Lukáš Kucharczyk 2023-09-10 14:53:48 +02:00
parent a305f16ac2
commit beb019f7d4
2 changed files with 37 additions and 1 deletions

6
.env
View File

@ -89,4 +89,8 @@ PHOTOPRISM_INTERNAL_PORT=2342
SONARR_TV_STANDARD_EXTERNAL_PORT=8989 SONARR_TV_STANDARD_EXTERNAL_PORT=8989
SONARR_INTERNAL_PORT=8989 SONARR_INTERNAL_PORT=8989
BASEROW_EXTERNAL_PORT=8089 BASEROW_EXTERNAL_PORT=8089
BASEROW_INTERNAL_PORT=80 BASEROW_INTERNAL_PORT=80
GITEA_WEBUI_EXTERNAL_PORT=3002
GITEA_WEBUI_INTERNAL_PORT=3000
GITEA_SSH_EXTERNAL_PORT=2022
GITEA_SSH_INTERNAL_PORT=22

View File

@ -727,6 +727,38 @@ services:
- infra - infra
gitea:
container_name: gitea
image: ${REGISTRY_URL}/gitea:latest
networks:
- public
- postgres
depends_on:
- postgres
ports:
- "${GITEA_WEBUI_EXTERNAL_PORT}:${GITEA_WEBUI_INTERNAL_PORT}"
- "${GITEA_SSH_EXTERNAL_PORT}:${GITEA_SSH_INTERNAL_PORT}"
volumes:
- "${DOCKER_STORAGE_PATH}/gitea:/data"
gitearunner:
image: gitea/act_runner
depends_on:
- gitea
volumes:
- "${DOCKER_STORAGE_PATH}/gitearunner:/config"
- /var/run/docker.sock:/var/run/docker.sock
environment:
- GITEA_INSTANCE_URL=gitea.${DOMAIN}
# When using Docker Secrets, it's also possible to use
# GITEA_RUNNER_REGISTRATION_TOKEN_FILE to pass the location.
# The env var takes precedence
- GITEA_RUNNER_REGISTRATION_TOKEN=1vm09SjKhzCpzRMdM6UkTGmBhrcyIyAGtb4GK60f
profiles:
- base
- infra
restart: unless-stopped
networks: networks: