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:
@@ -5,8 +5,8 @@ services:
|
|||||||
USER_UID: 1000
|
USER_UID: 1000
|
||||||
USER_GID: 1000
|
USER_GID: 1000
|
||||||
ROOT_URL: https://gitea.sectorq.eu
|
ROOT_URL: https://gitea.sectorq.eu
|
||||||
ENABLE_PASSWORD_SIGNIN_FORM: "false"
|
ENABLE_PASSWORD_SIGNIN_FORM: false
|
||||||
DISABLE_REGISTRATION: "true"
|
DISABLE_REGISTRATION: true
|
||||||
image: ${DOCKER_REGISTRY:-}gitea/gitea:latest
|
image: ${DOCKER_REGISTRY:-}gitea/gitea:latest
|
||||||
networks:
|
networks:
|
||||||
- gitea
|
- gitea
|
||||||
@@ -23,7 +23,7 @@ services:
|
|||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: "true"
|
com.centurylinklabs.watchtower.enable: true
|
||||||
homepage.container: gitea
|
homepage.container: gitea
|
||||||
homepage.description: Version control server
|
homepage.description: Version control server
|
||||||
homepage.group: Utilities
|
homepage.group: Utilities
|
||||||
@@ -36,8 +36,8 @@ services:
|
|||||||
homepage.widget.type: ${APPNAME}
|
homepage.widget.type: ${APPNAME}
|
||||||
homepage.widget.url: https://${APPNAME}.sectorq.eu
|
homepage.widget.url: https://${APPNAME}.sectorq.eu
|
||||||
homepage.widget.version: 2
|
homepage.widget.version: 2
|
||||||
wud.watch: "true"
|
wud.watch: true
|
||||||
wud.watch.digest: "true"
|
wud.watch.digest: true
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- node.role == manager
|
||||||
@@ -59,8 +59,8 @@ services:
|
|||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: any
|
||||||
labels:
|
labels:
|
||||||
wud.watch: "true"
|
wud.watch: true
|
||||||
wud.watch.digest: "true"
|
wud.watch.digest: true
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- node.role == manager
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ def convert_service(service):
|
|||||||
|
|
||||||
swarm_service[key] = value
|
swarm_service[key] = value
|
||||||
|
|
||||||
|
print(swarm_service['environment'])
|
||||||
|
|
||||||
# Merge user deploy section if present
|
# Merge user deploy section if present
|
||||||
if "deploy" in service:
|
if "deploy" in service:
|
||||||
user_deploy = service["deploy"]
|
user_deploy = service["deploy"]
|
||||||
|
|||||||
Reference in New Issue
Block a user