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:
37
__swarm/motioneye/motioneye-swarm.yml
Normal file
37
__swarm/motioneye/motioneye-swarm.yml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
services:
|
||||||
|
motioneye:
|
||||||
|
dns:
|
||||||
|
- 192.168.77.101
|
||||||
|
environment:
|
||||||
|
TZ: Europe/Bratislava
|
||||||
|
image: ${DOCKER_REGISTRY:-}ghcr.io/motioneye-project/motioneye:edge
|
||||||
|
ports:
|
||||||
|
- target: 8081
|
||||||
|
published: 8081
|
||||||
|
protocol: tcp
|
||||||
|
mode: ingress
|
||||||
|
- target: 8765
|
||||||
|
published: 8765
|
||||||
|
protocol: tcp
|
||||||
|
mode: ingress
|
||||||
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /share/docker_data/motioneye/etc_motioneye:/etc/motioneye
|
||||||
|
- /share/docker_data/motioneye/var_lib_motioneye:/var/lib/motioneye
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
com.centurylinklabs.watchtower.enable: 'true'
|
||||||
|
homepage.container: motioneye
|
||||||
|
homepage.description: Video manager
|
||||||
|
homepage.group: Media
|
||||||
|
homepage.href: http://m-server.home.lan:8765/
|
||||||
|
homepage.icon: /images/motioneye.webp
|
||||||
|
homepage.name: MotionEye
|
||||||
|
homepage.server: my-docker-swarm
|
||||||
|
homepage.weight: '1'
|
||||||
|
wud.watch: 'true'
|
||||||
|
wud.watch.digest: 'true'
|
||||||
|
replicas: 1
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == manager
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
|
volumes:
|
||||||
|
pihole_etc_pihole:
|
||||||
|
driver: local
|
||||||
|
pihole_etc_dnsmasq_d:
|
||||||
|
driver: local
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
pihole:
|
pihole:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
@@ -35,8 +41,8 @@ services:
|
|||||||
protocol: tcp
|
protocol: tcp
|
||||||
mode: ingress
|
mode: ingress
|
||||||
volumes:
|
volumes:
|
||||||
- /share/docker_data/pihole/etc-pihole:/etc/pihole
|
- pihole_etc_pihole:/etc/pihole
|
||||||
- /share/docker_data/pihole/etc-dnsmasq.d:/etc/dnsmasq.d
|
- pihole_etc_dnsmasq_d:/etc/dnsmasq.d
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: 'true'
|
com.centurylinklabs.watchtower.enable: 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user