chore: initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
auth.db
|
||||
18
docker-compose.yml
Normal file
18
docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
ntfy:
|
||||
image: binwiederhier/ntfy:latest
|
||||
container_name: ntfy
|
||||
restart: always
|
||||
command:
|
||||
- serve
|
||||
volumes:
|
||||
- /var/cache/ntfy:/var/cache/ntfy
|
||||
- /etc/ntfy:/etc/ntfy
|
||||
env_file:
|
||||
- ntfy.env
|
||||
networks:
|
||||
- reverse-proxy
|
||||
|
||||
networks:
|
||||
reverse-proxy:
|
||||
external: true
|
||||
15
ntfy.env
Normal file
15
ntfy.env
Normal file
@@ -0,0 +1,15 @@
|
||||
TZ=CET
|
||||
NTFY_BEHIND_PROXY=true
|
||||
|
||||
NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
|
||||
NTFY_CACHE_DURATION=48h
|
||||
NTFY_AUTH_FILE=/var/cache/ntfy/auth.db
|
||||
NTFY_AUTH_DEFAULT_ACCESS=deny-all
|
||||
|
||||
NTFY_BASE_URL=https://ntfy.lucasroyer.fr
|
||||
NTFY_ATTACHMENT_CACHE_DIR=/var/cache/ntfy/attachments
|
||||
NTFY_ATTACHMENT_TOTAL_SIZE_LIMIT=1G
|
||||
NTFY_ATTACHMENT_FILE_SIZE_LIMIT=50M
|
||||
NTFY_ATTACHMENT_EXPIRY_DURATION=48h
|
||||
|
||||
NTFY_ENABLE_LOGIN=true
|
||||
Reference in New Issue
Block a user