Ajouter ntfy/docker-compose.yml
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
ntfy:
|
||||||
|
image: binwiederhier/ntfy
|
||||||
|
container_name: ntfy
|
||||||
|
restart: unless-stopped
|
||||||
|
command: serve
|
||||||
|
environment:
|
||||||
|
NTFY_BASE_URL: https://ntfy.rct-lexformatique.fr
|
||||||
|
NTFY_CACHE_FILE: /var/cache/ntfy/cache.db
|
||||||
|
NTFY_AUTH_FILE: /var/lib/ntfy/auth.db
|
||||||
|
NTFY_AUTH_DEFAULT_ACCESS: deny-all
|
||||||
|
NTFY_BEHIND_PROXY: true
|
||||||
|
NTFY_ENABLE_LOGIN: true
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
volumes:
|
||||||
|
- /data-local/ntfy/cache:/var/cache/ntfy
|
||||||
|
- /data-local/ntfy/lib:/var/lib/ntfy
|
||||||
|
- /data-local/ntfy/config:/etc/ntfy
|
||||||
Reference in New Issue
Block a user