mirror of
https://github.com/atareao/self-hosted.git
synced 2024-06-04 06:35:19 +02:00
Add gotify
This commit is contained in:
parent
04bb01443a
commit
246b49745d
29
gotify/docker-compose.yml
Normal file
29
gotify/docker-compose.yml
Normal 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
1
gotify/gotify.env
Normal file
|
@ -0,0 +1 @@
|
|||
TZ=Europe/Madrid
|
Loading…
Reference in New Issue
Block a user