This commit is contained in:
2024-04-19 10:27:36 +02:00
parent fcb6bbe566
commit 35c96e715c
7852 changed files with 4815 additions and 8 deletions

20
Messagerie/Gotify/.env Normal file
View File

@ -0,0 +1,20 @@
#PATHS
#app domain
APP_DOMAIN=tips-of-mine.local
#app host port
APP_PORT=80
APP_PORT_SSL=443
#app storage folder, can be any local mounted
APP_PASSSTRENGTH=10
APP_UPLOADEDIMAGESDIR=data/images
APP_PLUGINSDIR=data/plugins
#app credentials
APP_USER_LOGIN=admin
APP_USER_PASSWORD=P@ssword!Here!123456
# app bdd
APP_BDD=sqlite3
APP_BDD_PATH=data/gotify.db

View File

@ -0,0 +1,34 @@
![Gotify](./img/logo-Gotify.png)
# Gotify
Gotify permet de recevoir des messages, ou notifications suivant le cas pour détecter toute nouvelle IP connectée au réseau local.
Bien entendu Gotify peut fonctionner avec une multitude d'applications.
UpTime Kuma, Sonarr, Radarr, Emby, Home Assistant,...
# Installation
Pour utiliser Adminer tout seul
```bash
docker compose up -d
```
Pour utiliser Adminer avec Traefik
```bash
docker compose -f docker-compose-traefik.yml up -d
```
Pour utiliser Adminer avec Nginx
```bash
docker compose -f docker-compose-nginx.yml up -d
```
# Utilisation
## Accueil
# More info
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
# Buy me a coffe
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

View File

@ -0,0 +1,50 @@
#### NETWORKS
networks:
docker-traefik_front_network:
external: true
back_network:
driver: bridge
attachable: true
#### SERVICES
services:
### gotify
gotify:
container_name: gotify
hostname: gotify
image: gotify/server
volumes:
- ./gotify:/app/data
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
- back_network
- docker-traefik_front_network
environment:
- GOTIFY_SERVER_PORT=${APP_PORT}
- GOTIFY_SERVER_SSL_PORT=${APP_PORT_SSL}
- GOTIFY_DATABASE_DIALECT=${APP_BDD}
- GOTIFY_DATABASE_CONNECTION=${APP_BDD_PATH}
- GOTIFY_DEFAULTUSER_NAME=${APP_USER_LOGIN}
- GOTIFY_DEFAULTUSER_PASS=${APP_USER_PASSWORD}
- GOTIFY_PASSSTRENGTH=${APP_PASSSTRENGTH}
- GOTIFY_UPLOADEDIMAGESDIR=${APP_UPLOADEDIMAGESDIR}
- GOTIFY_PLUGINSDIR=${APP_PLUGINSDIR}
- TZ=Europe/Paris
labels:
- "traefik.enable=true"
- "traefik.docker.network=docker-traefik_front_network"
# HTTP
- "traefik.http.routers.gotify-http.rule=Host(`gotify.10.0.4.29.traefik.me`)"
- "traefik.http.routers.gotify-http.entrypoints=http"
# HTTPS
- "traefik.http.routers.gotify-https.rule=Host(`gotify.10.0.4.29.traefik.me`)"
- "traefik.http.routers.gotify-https.entrypoints=https"
- "traefik.http.routers.gotify-https.tls=true"
# Middleware
- "traefik.http.routers.gotify.middlewares=gotify-https-redirect"
- "traefik.http.middlewares.gotify-https-redirect.redirectscheme.scheme=https"
# Service
- "traefik.http.services.gotify-service.loadbalancer.server.port=80"

View File

@ -0,0 +1,30 @@
version: '3.3'
services:
gotify:
image: gotify/server
container_name: gotify
volumes:
- /home/ubuntu/docker/gotify:/app/data
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
proxy:
environment:
- TZ=Europe/London
labels:
- "traefik.enable=true"
- "traefik.http.routers.gotify.entrypoints=http"
- "traefik.http.routers.gotify.rule=Host(`gotify.yourdomain.com`)"
- "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.yourdomain.com`)"
- "traefik.http.routers.gotify-secure.tls=true"
- "traefik.http.routers.gotify-secure.service=gotify"
- "traefik.http.services.gotify.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"
networks:
proxy:
external: true

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB