remove constraints on docker service placement
This commit is contained in:
parent
3bf589e10e
commit
cf5da3f8dd
8 changed files with 1 additions and 61 deletions
|
@ -11,9 +11,6 @@ services:
|
|||
networks:
|
||||
- traefik
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.public == true"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.cyberchef.entrypoints=websecure
|
||||
|
|
|
@ -13,9 +13,6 @@ services:
|
|||
ports:
|
||||
- 2500:2500
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.public == true"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.inbucket.entrypoints=localsecure
|
||||
|
|
|
@ -21,9 +21,6 @@ services:
|
|||
- jitsi
|
||||
- traefik
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.public == true"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.jitsi-web.entrypoints=websecure
|
||||
|
@ -57,10 +54,6 @@ services:
|
|||
jitsi:
|
||||
aliases:
|
||||
- xmpp.meet.jitsi
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.public == true"
|
||||
|
||||
jicofo:
|
||||
image: jitsi/jicofo:stable-8218
|
||||
|
@ -74,10 +67,6 @@ services:
|
|||
- prosody
|
||||
networks:
|
||||
- jitsi
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.public == true"
|
||||
|
||||
jvb:
|
||||
image: jitsi/jvb:stable-8218
|
||||
|
@ -96,7 +85,3 @@ services:
|
|||
networks:
|
||||
- jitsi
|
||||
- traefik
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.public == true"
|
||||
|
|
|
@ -6,7 +6,3 @@ services:
|
|||
image: teddysun/kms
|
||||
ports:
|
||||
- 1688:1688
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.public == true"
|
||||
|
|
|
@ -33,10 +33,6 @@ services:
|
|||
target: /data
|
||||
volume:
|
||||
nocopy: true
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.mastodon == true"
|
||||
|
||||
web:
|
||||
image: tootsuite/mastodon:v4.1
|
||||
|
@ -69,9 +65,6 @@ services:
|
|||
volume:
|
||||
nocopy: true
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.mastodon == true"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.mastodon.entrypoints=websecure
|
||||
|
@ -101,9 +94,6 @@ services:
|
|||
# prettier-ignore
|
||||
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.mastodon == true"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.mastodon-streaming.entrypoints=websecure
|
||||
|
@ -137,9 +127,5 @@ services:
|
|||
nocopy: true
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"]
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.mastodon == true"
|
||||
depends_on:
|
||||
- redis
|
||||
|
|
|
@ -39,9 +39,6 @@ services:
|
|||
volume:
|
||||
nocopy: true
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.overleaf == true"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.overleaf.entrypoints=websecure
|
||||
|
@ -100,10 +97,6 @@ services:
|
|||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.overleaf == true"
|
||||
|
||||
overleaf-redis:
|
||||
image: redis:5
|
||||
|
@ -117,7 +110,3 @@ services:
|
|||
target: /data
|
||||
volume:
|
||||
nocopy: true
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.overleaf == true"
|
||||
|
|
|
@ -32,20 +32,12 @@ services:
|
|||
nocopy: true
|
||||
networks:
|
||||
- seafile
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.seafile == true"
|
||||
|
||||
memcached:
|
||||
image: memcached:1.6
|
||||
entrypoint: memcached -m 256
|
||||
networks:
|
||||
- seafile
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.seafile == true"
|
||||
|
||||
seafile:
|
||||
image: seafileltd/seafile-mc:9.0.10
|
||||
|
@ -64,9 +56,6 @@ services:
|
|||
- SEAFILE_SERVER_LETSENCRYPT=false
|
||||
- SEAFILE_SERVER_HOSTNAME={{ seafile_domain }}
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- "node.labels.seafile == true"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.seafile.entrypoints=websecure
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# vi: ft=yaml
|
||||
version: "3"
|
||||
|
||||
networks:
|
||||
|
|
Reference in a new issue