ok
This commit is contained in:
20
Messagerie/Gotify/.env
Normal file
20
Messagerie/Gotify/.env
Normal 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
|
34
Messagerie/Gotify/README.md
Normal file
34
Messagerie/Gotify/README.md
Normal file
@ -0,0 +1,34 @@
|
||||

|
||||
|
||||
# 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>
|
50
Messagerie/Gotify/docker-compose-traefik.yaml
Normal file
50
Messagerie/Gotify/docker-compose-traefik.yaml
Normal 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"
|
0
Messagerie/Gotify/docker-compose-traefik.yml
Normal file
0
Messagerie/Gotify/docker-compose-traefik.yml
Normal file
30
Messagerie/Gotify/docker-compose.yaml
Normal file
30
Messagerie/Gotify/docker-compose.yaml
Normal 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
|
0
Messagerie/Gotify/docker-compose.yml
Normal file
0
Messagerie/Gotify/docker-compose.yml
Normal file
BIN
Messagerie/Gotify/img/logo-Gotify.png
Normal file
BIN
Messagerie/Gotify/img/logo-Gotify.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Reference in New Issue
Block a user