This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
static/docker-stack.yml.template

24 lines
769 B
Text
Raw Normal View History

# vi: ft=yaml
version: '3'
networks:
traefik:
external: true
services:
static:
2023-07-05 21:39:07 +00:00
image: git.kun.is/pim/static:TAG
networks:
- traefik
deploy:
placement:
constraints:
- "node.labels.public == true"
labels:
- traefik.enable=true
- traefik.http.routers.static.entrypoints=websecure
- traefik.http.services.static.loadbalancer.server.port=80
2023-06-30 14:31:04 +00:00
- "traefik.http.routers.static.rule=(Host(`pim.kunis.nl`) || Host(`pim.kun.is`) || Host(`concourse.pim.kunis.nl`) || Host(`rss.pim.kunis.nl`) || Host(`md.pim.kunis.nl`) || Host(`cloud.pim.kunis.nl`) || Host(`dav.pim.kunis.nl`))"
- traefik.http.routers.static.tls=true
- traefik.http.routers.static.tls.certresolver=letsencrypt