Последняя активность 1740234105

A simple HTTP-based pub-sub notification service. With ntfy, you can send notifications to your phone or desktop via scripts from any computer.

docker-compose.yml Исходник
1services:
2 ntfy:
3 image: binwiederhier/ntfy:latest
4 container_name: ntfy
5 command:
6 - serve
7 environment:
8 - TZ=Europe/Rome
9 - NTFY_BASE_URL=https://ntfy.emanuelegori.uno
10 - NTFY_CACHE_FILE=/var/lib/ntfy/cache.db
11 - NTFY_BEHIND_PROXY=true
12 - NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments
13 # - NTFY_UPSTREAM_BASE_URL=https://ntfy.sh # Optional if you need push notifications on iOS
14 - NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
15 - NTFY_AUTH_DEFAULT_ACCESS=deny-all
16 - NTFY_ENABLE_LOGIN=false
17 - NTFY_WEB_ROOT=disable # Disable WebGui
18 volumes:
19 - ./cache-ntfy:/var/cache/ntfy
20 - ./etc-ntfy:/etc/ntfy
21 - ./ntfy:/var/lib/ntfy
22 # ports:
23 # - 9282:9292
24 healthcheck:
25 test: ["CMD-SHELL", "wget -q --tries=1 http://localhost:80/v1/health -O - | grep -Eo '\"healthy\"\\s*:\\s*true' || exit 1"]
26 interval: 60s
27 timeout: 10s
28 retries: 3
29 start_period: 40s
30 restart: unless-stopped