mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 18:34:53 +01:00
build
This commit is contained in:
@@ -1,43 +1,48 @@
|
||||
version: '3.9'
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
services:
|
||||
server:
|
||||
environment:
|
||||
USER_UID: '1000'
|
||||
USER_GID: '1000'
|
||||
USER_UID: 1000
|
||||
USER_GID: 1000
|
||||
ROOT_URL: https://gitea.sectorq.eu
|
||||
ENABLE_PASSWORD_SIGNIN_FORM: 'false'
|
||||
DISABLE_REGISTRATION: 'true'
|
||||
ENABLE_PASSWORD_SIGNIN_FORM: false
|
||||
DISABLE_REGISTRATION: true
|
||||
image: ${DOCKER_REGISTRY:-}gitea/gitea:latest
|
||||
networks:
|
||||
- gitea
|
||||
ports:
|
||||
- 3000:3000
|
||||
- '222:22'
|
||||
- target: 3000
|
||||
published: 3000
|
||||
protocol: tcp
|
||||
mode: ingress
|
||||
- target: 22
|
||||
published: 222
|
||||
protocol: tcp
|
||||
mode: ingress
|
||||
volumes:
|
||||
- /share/docker_data/gitea:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
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.description: Version control server
|
||||
homepage.group: Utilities
|
||||
homepage.href: https://${APPNAME}.sectorq.eu
|
||||
homepage.icon: ${APPNAME}.png
|
||||
homepage.name: Gitea
|
||||
homepage.server: my-docker-swarm
|
||||
homepage.weight: '1'
|
||||
homepage.widget.key: ${token}
|
||||
homepage.widget.type: ${appname}
|
||||
homepage.widget.url: https://${appname}.sectorq.eu
|
||||
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'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
@@ -46,7 +51,7 @@ services:
|
||||
environment:
|
||||
CONFIG_FILE: /config/config.yaml
|
||||
GITEA_INSTANCE_URL: https://gitea.sectorq.eu/
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: 8nmkqjhkvywltmnff2o9vs0tzo70ufhsqpvg6ymb
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: 8nmKqJhkvYwltmNfF2o9vs0tzo70ufHSQpVg6ymb
|
||||
GITEA_RUNNER_NAME: jaydee
|
||||
GITEA_RUNNER_LABELS: jaydee
|
||||
volumes:
|
||||
@@ -54,16 +59,10 @@ services:
|
||||
- /share/docker_data/gitea-runner/data:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
labels:
|
||||
wud.watch: 'true'
|
||||
wud.watch.digest: 'true'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
|
||||
Reference in New Issue
Block a user