gitea, gitearunner: add
This commit is contained in:
parent
a305f16ac2
commit
beb019f7d4
4
.env
4
.env
|
@ -90,3 +90,7 @@ SONARR_TV_STANDARD_EXTERNAL_PORT=8989
|
|||
SONARR_INTERNAL_PORT=8989
|
||||
BASEROW_EXTERNAL_PORT=8089
|
||||
BASEROW_INTERNAL_PORT=80
|
||||
GITEA_WEBUI_EXTERNAL_PORT=3002
|
||||
GITEA_WEBUI_INTERNAL_PORT=3000
|
||||
GITEA_SSH_EXTERNAL_PORT=2022
|
||||
GITEA_SSH_INTERNAL_PORT=22
|
||||
|
|
|
@ -728,6 +728,38 @@ services:
|
|||
|
||||
|
||||
|
||||
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:
|
||||
loki:
|
||||
|
|
Loading…
Reference in New Issue