Files
docker-compose/__swarm/webhub/webhub-swarm.yml
2025-12-01 23:17:55 +01:00

51 lines
1.1 KiB
YAML

services:
heimdall:
environment:
PUID: '1000'
PGID: '1000'
TZ: Europe/Bratislava
image: ${DOCKER_REGISTRY:-}lscr.io/linuxserver/heimdall:latest
ports:
- target: 80
published: 8084
protocol: tcp
mode: ingress
- target: 443
published: 4437
protocol: tcp
mode: ingress
volumes:
- heimdall_config:/config
deploy:
labels:
com.centurylinklabs.watchtower.enable: 'true'
wud.watch: 'true'
wud.watch.digest: 'true'
replicas: 1
placement:
constraints:
- node.role == manager
web:
environment:
NGINX_HOST: sectorq.eu
NGINX_PORT: '80'
image: ${DOCKER_REGISTRY:-}nginx:latest
ports:
- target: 80
published: 48000
protocol: tcp
mode: ingress
volumes:
- webhub_data:/usr/share/nginx/html
deploy:
labels:
wud.watch: 'true'
wud.watch.digest: 'true'
replicas: 1
placement:
constraints:
- node.role == manager
volumes:
heimdall_config:
webhub_data: