Add uni calendars container oop

This commit is contained in:
Jade Ellis 2024-10-03 13:19:02 +01:00
parent f421eaccda
commit c25a75b8aa
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -0,0 +1,37 @@
[Unit]
Description=Calendars service
Wants=network-online.target
After=network-online.target
# Kent and SUMS block mythic beast IPs
[Container]
ContainerName=uni-calendar-service
NoNewPrivileges=true
Image=ghcr.io/jadedblueeyes/kent-calendar-service:main
ReadOnly=true
AutoUpdate=registry
Network=web.network
Label="traefik.enable=true"
Label="traefik.http.routers.uni-calendars.rule=(Host(`uni-calendars.ellis.link`))"
Label="traefik.http.routers.uni-calendars.entrypoints=https"
Label="traefik.http.routers.uni-calendars.tls.certresolver=letsencrypt"
# Label="traefik.http.routers.uni-calendars.tls.options=intermediate@file"
Label="traefik.http.routers.uni-calendars.middlewares=default@file"
Label="homepage.group=Public"
Label="homepage.name=Calendars service"
Label="homepage.href=https://uni-calendars.ellis.link/"
Label="homepage.siteMonitor=https://uni-calendars.ellis.link/"
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=default.target