This commit is contained in:
Hubert Cornet 2024-04-01 17:18:29 +02:00
parent 86bf7e0b69
commit 60d24f2349
5 changed files with 76 additions and 1 deletions

View File

@ -20,6 +20,7 @@ Pour utiliser Adminer avec Nginx
```bash ```bash
docker compose -f docker-compose-nginx.yml up -d docker compose -f docker-compose-nginx.yml up -d
``` ```
# Utilisation # Utilisation
## Accueil ## Accueil

20
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

@ -2,6 +2,10 @@
# Gotify # 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 # Installation

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

@ -13,7 +13,7 @@ Voici la liste des l'ensembles des docker-compose d'application que j'utilise.
| Data capture | [Debezium](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Debezium/ "Debezium") |||||| https://debezium.io | | Data capture | [Debezium](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Debezium/ "Debezium") |||||| https://debezium.io |
| Vidéo | [Frigate](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Frigate/ "Frigate") |||||| https://frigate.video | | Vidéo | [Frigate](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Frigate/ "Frigate") |||||| https://frigate.video |
| Repository | [Gitea](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Gitea/ "Gitea") |||||| https://www.gitea.com | | Repository | [Gitea](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Gitea/ "Gitea") |||||| https://www.gitea.com |
| Send mail | [Gotify](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Gotify/ "Gotify") |||||| https://gotify.net | | Monitoring | [Gotify](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Gotify/ "Gotify") |||||| https://gotify.net |
| Data capture | [Graylog](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Graylog/ "Graylog") |||✅||| https://graylog.org | | Data capture | [Graylog](https://git.tips-of-mine.fr/Tips-Of-Mine/Docker/src/branch/main/Graylog/ "Graylog") |||✅||| https://graylog.org |
| Remote | Guacamole |||✅|✅|| https://guacamole.apache.org | | Remote | Guacamole |||✅|✅|| https://guacamole.apache.org |
| Repository | Harbor |||||| https://goharbor.io | | Repository | Harbor |||||| https://goharbor.io |