27 lines
840 B
YAML
27 lines
840 B
YAML
#stack GoTIFY - v 1.0
|
|
|
|
services:
|
|
gotify:
|
|
image: gotify/server:latest
|
|
container_name: gotify
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8182:80" # Adaptez le port hôte selon vos besoins (ex. 8180 libre)
|
|
environment:
|
|
- GOTIFY_DEFAULTUSER_NAME=admin
|
|
- GOTIFY_DEFAULTUSER_PASS=admin # Changez immédiatement après login
|
|
- TZ=Europe/Paris
|
|
labels:
|
|
- com.centurylinklabs.watchtower.enable=true # Active updates
|
|
- com.centurylinklabs.watchtower.schedule=0 0 22 * * * # Tous les jours 4h
|
|
|
|
volumes:
|
|
- /data/gotify/:/app/data # Persistance DB et images (backup ce dossier)
|
|
networks:
|
|
- 001-stack-npm_nginx-proxy
|
|
# Pas de ports exposés : accès uniquement via NPM
|
|
|
|
networks:
|
|
001-stack-npm_nginx-proxy:
|
|
external: true # Réseau créé par NPM
|