webdav/stack.production.yml

33 lines
1.2 KiB
YAML

version: "3.7"
services:
webgrind:
image: git.nixc.us/nixius/webgrind:production
volumes:
- "/mnt/tank/persist/nixc.us/webgrind/production/data/:/home/user/.config/webgrind"
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini2
deploy:
replicas: 1
labels:
homepage.group: apps
homepage.name: webgrind
homepage.href: https://webgrind.nixc.us/
homepage.description:
us.nixc.autodeploy: "true"
traefik.enable: "true"
traefik.http.routers.production_webgrind_webgrind.tls: "true"
traefik.http.services.production_webgrind_webgrind.loadbalancer.server.port: 80
traefik.http.routers.production_webgrind_webgrind.rule: Host(`webgrind.nixc.us`)
traefik.http.routers.production_webgrind_webgrind.entrypoints: websecure
traefik.http.routers.production_webgrind_webgrind.tls.certresolver: letsencryptresolver
traefik.http.routers.production_webgrind_webgrind.service: production_webgrind_webgrind
traefik.docker.network: traefik
# - 'traefik.http.routers.production_uptime_uptime.middlewares=authelia@docker'
networks:
- traefik
networks:
traefik:
external: true