mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 10:24:53 +01:00
build
This commit is contained in:
39
__swarm/homepage/homepage-swarm.yml
Normal file
39
__swarm/homepage/homepage-swarm.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
networks:
|
||||
pihole_pihole:
|
||||
external: true
|
||||
services:
|
||||
homepage:
|
||||
dns:
|
||||
- 192.168.78.254
|
||||
environment:
|
||||
HOMEPAGE_ALLOWED_HOSTS: sectorq.eu,active.home.lan:3003,m-server.home.lan:3003,rpi5.home.lan:3003,nas.home.lan:3003,192.168.77.238:3003,rack.home.lan:3003
|
||||
TZ: Europe/Bratislava
|
||||
image: ${DOCKER_REGISTRY:-}ghcr.io/gethomepage/homepage:latest
|
||||
networks:
|
||||
- pihole_pihole
|
||||
ports:
|
||||
- target: 3000
|
||||
published: 3003
|
||||
protocol: tcp
|
||||
mode: ingress
|
||||
volumes:
|
||||
- config:/app/config
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- images:/app/public/images
|
||||
- icons:/app/public/icons
|
||||
deploy:
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: 'true'
|
||||
wud.watch: 'true'
|
||||
wud.watch.digest: 'true'
|
||||
replicas: 1
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
volumes:
|
||||
config:
|
||||
driver: local
|
||||
images:
|
||||
driver: local
|
||||
icons:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user