Add gotify

This commit is contained in:
Lorenzo 2022-01-29 10:25:47 +01:00
parent 04bb01443a
commit 246b49745d
2 changed files with 30 additions and 0 deletions

29
gotify/docker-compose.yml Normal file
View File

@ -0,0 +1,29 @@
version: '3'
services:
gotify:
image: gotify/server:latest
container_name: gotify
env_file:
- gotify.env
volumes:
- ./data:/app/data
networks:
- proxy
labels:
- traefik.enable=true
- traefik.port=80
- traefik.http.routers.gotify.entrypoints=http
- traefik.http.routers.gotify.rule=Host(`${GOTIFY_FQDN}`)
- traefik.http.middlewares.gotify-https-redirect.redirectscheme.scheme=https
- traefik.http.routers.gotify.middlewares=gotify-https-redirect
- traefik.http.routers.gotify-secure.entrypoints=https
- traefik.http.routers.gotify-secure.rule=Host(`${GOTIFY_FQDN}`)
- traefik.http.routers.gotify-secure.tls=true
- traefik.http.routers.gotify-secure.tls.certresolver=myresolver
- com.centurylinklabs.watchtower.enable="true"
- com.centurylinklabs.watchtower.monitor-only="true"
networks:
proxy:
external: true

1
gotify/gotify.env Normal file
View File

@ -0,0 +1 @@
TZ=Europe/Madrid