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:
50
__swarm/webhub/webhub-swarm.yml
Normal file
50
__swarm/webhub/webhub-swarm.yml
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
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:
|
||||||
Reference in New Issue
Block a user