This commit is contained in:
2025-11-30 12:56:57 +01:00
parent 8076465132
commit 0420f90ac8
2 changed files with 9 additions and 7 deletions

View File

@@ -5,8 +5,8 @@ services:
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
@@ -23,7 +23,7 @@ services:
restart_policy:
condition: any
labels:
com.centurylinklabs.watchtower.enable: "true"
com.centurylinklabs.watchtower.enable: true
homepage.container: gitea
homepage.description: Version control server
homepage.group: Utilities
@@ -36,8 +36,8 @@ services:
homepage.widget.type: ${APPNAME}
homepage.widget.url: https://${APPNAME}.sectorq.eu
homepage.widget.version: 2
wud.watch: "true"
wud.watch.digest: "true"
wud.watch: true
wud.watch.digest: true
placement:
constraints:
- node.role == manager
@@ -59,8 +59,8 @@ services:
restart_policy:
condition: any
labels:
wud.watch: "true"
wud.watch.digest: "true"
wud.watch: true
wud.watch.digest: true
placement:
constraints:
- node.role == manager

View File

@@ -41,6 +41,8 @@ def convert_service(service):
swarm_service[key] = value
print(swarm_service['environment'])
# Merge user deploy section if present
if "deploy" in service:
user_deploy = service["deploy"]