This commit is contained in:
2025-11-30 18:26:06 +01:00
parent a1ceec582a
commit 86ed33513d
2 changed files with 45 additions and 2 deletions

View 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

View File

@@ -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'