Ajouter ntfy/docker-compose.yml
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
ntfy:
|
||||
image: binwiederhier/ntfy:latest
|
||||
container_name: ntfy
|
||||
command: serve
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
TZ: Europe/Paris
|
||||
NTFY_BASE_URL: https://ntfy.example.com
|
||||
NTFY_CACHE_FILE: /var/lib/ntfy/cache.db
|
||||
NTFY_AUTH_FILE: /var/lib/ntfy/auth.db
|
||||
NTFY_AUTH_DEFAULT_ACCESS: deny-all
|
||||
NTFY_BEHIND_PROXY: true
|
||||
NTFY_ATTACHMENT_CACHE_DIR: /var/lib/ntfy/attachments
|
||||
NTFY_ENABLE_LOGIN: true
|
||||
volumes:
|
||||
- /data/ntfy:/var/lib/ntfy
|
||||
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
|
||||
Reference in New Issue
Block a user