mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-07-01 16:08:32 +02:00
56 lines
1.7 KiB
YAML
Executable File
56 lines
1.7 KiB
YAML
Executable File
networks:
|
|
gitea:
|
|
external: false
|
|
services:
|
|
server:
|
|
container_name: gitea
|
|
environment:
|
|
USER_UID: 1000
|
|
USER_GID: 1000
|
|
ROOT_URL: https://gitea.sectorq.eu
|
|
ENABLE_PASSWORD_SIGNIN_FORM: false
|
|
DISABLE_REGISTRATION: true
|
|
image: ${DOCKER_REGISTRY:-}gitea/gitea:latest
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: true
|
|
homepage.container: gitea
|
|
homepage.description: Version control server
|
|
homepage.group: Utilities
|
|
homepage.href: https://${APPNAME}.sectorq.eu
|
|
homepage.icon: ${APPNAME}.png
|
|
homepage.name: Gitea
|
|
homepage.server: my-docker
|
|
homepage.weight: 1
|
|
homepage.widget.key: ${TOKEN}
|
|
homepage.widget.type: ${APPNAME}
|
|
homepage.widget.url: https://${APPNAME}.sectorq.eu
|
|
homepage.widget.version: 2
|
|
wud.watch: true
|
|
wud.watch.digest: true
|
|
networks:
|
|
- gitea
|
|
ports:
|
|
- 3000:3000
|
|
- '222:22'
|
|
restart: ${RESTART:-unless-stopped}
|
|
volumes:
|
|
- /share/docker_data/gitea:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
runner:
|
|
image: ${DOCKER_REGISTRY:-}docker.io/gitea/act_runner:nightly
|
|
environment:
|
|
CONFIG_FILE: /config/config.yaml
|
|
GITEA_INSTANCE_URL: "https://gitea.sectorq.eu/"
|
|
GITEA_RUNNER_REGISTRATION_TOKEN: "8nmKqJhkvYwltmNfF2o9vs0tzo70ufHSQpVg6ymb"
|
|
GITEA_RUNNER_NAME: jaydee
|
|
GITEA_RUNNER_LABELS: jaydee
|
|
|
|
volumes:
|
|
- /share/docker_data/gitea-runner/config:/config
|
|
- /share/docker_data/gitea-runner/data:/data
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
restart: ${RESTART:-unless-stopped}
|
|
labels:
|
|
wud.watch: true
|
|
wud.watch.digest: true |