Compare commits

...

10 Commits

Author SHA1 Message Date
14bb8eae7e Update famhistweb/docker-compose.yml
Change placement constraint
2026-01-06 21:01:59 +00:00
91558d6b8c Update collabora/docker-compose.yml
Add control via labels
2026-01-06 20:58:23 +00:00
e8d3b3cb27 Update uptime-kuma/docker-compose.yml
Add to caddy_net
2026-01-06 20:53:01 +00:00
0b4817e7fb Update uptime-kuma/docker-compose.yml
Add control via labels
2026-01-06 20:52:06 +00:00
bf00f7077a Update owncloud/docker-compose.yml 2026-01-06 20:45:44 +00:00
0c23c61d6c Update owncloud/docker-compose.yml
Add in control via labels on all three containers
2026-01-06 20:42:44 +00:00
f9975b9ccf Update nextfamhistweb/docker-compose.yml
Change constraint label to run on nay node but PROD-03 or where the target label is
2026-01-06 20:36:40 +00:00
aea19f8e9d Update testweb/docker-compose.yml 2026-01-06 20:29:22 +00:00
d9d4d5b9ec Update ghost/docker-compose.yml
Add control via labels
2026-01-06 20:14:44 +00:00
aa29725406 Update diun/docker-compose.yml
Change of GOTIFY token
2026-01-05 23:57:03 +00:00
8 changed files with 33 additions and 8 deletions

View File

@@ -4,6 +4,10 @@ services:
collabora: collabora:
image: collabora/code:latest image: collabora/code:latest
container_name: collabora container_name: collabora
deploy:
placement:
constraints:
- node.labels.target == here
expose: expose:
- 9980:9980 - 9980:9980
ports: ports:
@@ -17,7 +21,6 @@ services:
- TZ=Europe/London - TZ=Europe/London
- password=Zephie2023 - password=Zephie2023
- username=admin - username=admin
networks: networks:
- caddy_net - caddy_net

View File

@@ -17,7 +17,7 @@ services:
- "DIUN_PROVIDERS_SWARM_WATCHBYDEFAULT=true" - "DIUN_PROVIDERS_SWARM_WATCHBYDEFAULT=true"
- "DIUN_NOTIF_GOTIFY_ENDPOINT=http://192.168.1.4:8111" - "DIUN_NOTIF_GOTIFY_ENDPOINT=http://192.168.1.4:8111"
- "DIUN_NOTIF_GOTIFY_TOKEN=AOwbQPBcifHa1Kg" # get your token from Gotify UI - "DIUN_NOTIF_GOTIFY_TOKEN=AKEQs.EZ-5r0Vqs" # get your token from Gotify UI
- "DIUN_NOTIF_GOTIFY_PRIORITY=5" - "DIUN_NOTIF_GOTIFY_PRIORITY=5"
- "DIUN_NOTIF_GOTIFY_TIMEOUT=10s" - "DIUN_NOTIF_GOTIFY_TIMEOUT=10s"
deploy: deploy:

View File

@@ -4,7 +4,8 @@ services:
container_name: apache2 container_name: apache2
deploy: deploy:
placement: placement:
constraints: [node.role == worker] constraints:
- node.labels.target != here
replicas: 1 replicas: 1
restart: on-failure restart: on-failure
ports: ports:

View File

@@ -4,7 +4,8 @@ services:
container_name: ghost container_name: ghost
deploy: deploy:
placement: placement:
constraints: [node.role == worker] constraints:
- node.labels.target == here
replicas: 1 replicas: 1
restart: always restart: always
ports: ports:

View File

@@ -2,8 +2,9 @@ services:
nextfamhistweb: nextfamhistweb:
image: httpd:latest image: httpd:latest
deploy: deploy:
# placement: placement:
# constraints: [node.role == worker] constraints:
- node.labels.target != here
replicas: 1 replicas: 1
restart: on-failure restart: on-failure
ports: ports:

View File

@@ -2,6 +2,10 @@ services:
owncloud: owncloud:
image: owncloud/server:latest image: owncloud/server:latest
# container_name: owncloud_server # container_name: owncloud_server
deploy:
placement:
constraints:
- node.labels.target == here
restart: always restart: always
ports: ports:
- 8080:8080 - 8080:8080
@@ -59,6 +63,10 @@ services:
redis: redis:
image: redis:6 image: redis:6
# container_name: owncloud_redis # container_name: owncloud_redis
deploy:
placement:
constraints:
- node.labels.target == here
restart: always restart: always
command: ["--databases", "1"] command: ["--databases", "1"]
healthcheck: healthcheck:

View File

@@ -7,8 +7,9 @@ services:
image: httpd:2.4.65-alpine image: httpd:2.4.65-alpine
container_name: testweb container_name: testweb
deploy: deploy:
# placement: placement:
# constraints: [node.role == worker] constraints:
- node.labels.target != here
replicas: 1 replicas: 1
restart: on-failure restart: on-failure
ports: ports:

View File

@@ -2,9 +2,19 @@ services:
uptime-kuma: uptime-kuma:
image: louislam/uptime-kuma:2 image: louislam/uptime-kuma:2
container_name: uptime-kuma container_name: uptime-kuma
deploy:
placement:
constraints:
- node.labels.target != here
restart: always restart: always
ports: ports:
- "3010:3001" - "3010:3001"
volumes: volumes:
- /media/gv0/docker/uptime-kuma/data:/app/data - /media/gv0/docker/uptime-kuma/data:/app/data
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
networks:
- caddy_net
networks:
caddy_net:
external: true