mirror of
https://github.com/CoolnsX/selfhost.git
synced 2025-12-20 07:15:17 +05:30
This is not a commit
This commit is contained in:
1
ntfy/.gitignore
vendored
Normal file
1
ntfy/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
ntfy
|
||||||
28
ntfy/docker-compose.yml
Normal file
28
ntfy/docker-compose.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
services:
|
||||||
|
ntfy:
|
||||||
|
image: binwiederhier/ntfy:latest
|
||||||
|
container_name: ntfy
|
||||||
|
command:
|
||||||
|
- serve
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Kolkata # optional: set desired timezone
|
||||||
|
- NTFY_BASE_URL=https://ntfy.coolans.dev
|
||||||
|
- NTFY_CACHE_FILE=/var/lib/ntfy/cache.db
|
||||||
|
- NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
|
||||||
|
- NTFY_AUTH_DEFAULT_ACCESS=deny-all
|
||||||
|
- NTFY_LISTEN_HTTP=:7777
|
||||||
|
- NTFY_BEHIND_PROXY=true
|
||||||
|
- NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments
|
||||||
|
- NTFY_ENABLE_LOGIN=true
|
||||||
|
- PUID=1001
|
||||||
|
- PGID=1001
|
||||||
|
user: 1001:1001
|
||||||
|
volumes:
|
||||||
|
- ./ntfy:/var/lib/ntfy
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- nginx_proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
nginx_proxy:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user