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

35 lines
1.5 KiB
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:
labels:
- traefik.enable=true
2023-07-07 10:25:17 +00:00
2023-07-07 10:29:25 +00:00
- traefik.http.routers.blog.entrypoints=websecure
- traefik.http.routers.blog.service=static
- traefik.http.services.static.loadbalancer.server.port=80
2023-07-07 10:29:25 +00:00
- traefik.http.routers.blog.rule=Host(`pim.kun.is`)
- traefik.http.routers.blog.tls=true
- traefik.http.routers.blog.tls.certresolver=letsencrypt
2023-07-07 10:25:17 +00:00
- traefik.http.routers.redirects.entrypoints=websecure
- traefik.http.routers.redirects.service=static
2023-08-23 16:34:58 +00:00
- "traefik.http.routers.redirects.rule=(Host(`pim.kunis.nl`) || 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`) || Host(`git.pim.kunis.nl`) || Host(`latex.pim.kunis.nl`) || Host(`grades.when.kun.is`) || Path(`/robots.txt`))"
2023-07-07 10:25:17 +00:00
- traefik.http.routers.redirects.tls=true
- traefik.http.routers.redirects.tls.certresolver=letsencrypt
2023-07-12 16:44:52 +00:00
- traefik.http.routers.redirects-local.entrypoints=localsecure
- traefik.http.routers.redirects-local.service=static
2023-07-12 16:58:57 +00:00
- "traefik.http.routers.redirects-local.rule=(Host(`traefik.pim.kunis.nl`) || Host(`pihole.pim.kunis.nl`) || Host(`swarm.pim.kunis.nl`) || Host(`uptime.pim.kunis.nl`))"
2023-07-12 16:44:52 +00:00
- traefik.http.routers.redirects-local.tls=true
- traefik.http.routers.redirects-local.tls.certresolver=letsencrypt