Compare commits
10 Commits
4377f2fcbc
...
14bb8eae7e
| Author | SHA1 | Date | |
|---|---|---|---|
| 14bb8eae7e | |||
| 91558d6b8c | |||
| e8d3b3cb27 | |||
| 0b4817e7fb | |||
| bf00f7077a | |||
| 0c23c61d6c | |||
| f9975b9ccf | |||
| aea19f8e9d | |||
| d9d4d5b9ec | |||
| aa29725406 |
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user