chore: initial commit

This commit is contained in:
Lucas
2026-01-22 11:17:14 +00:00
commit 10ce4d91e9
3 changed files with 34 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
auth.db

18
docker-compose.yml Normal file
View 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
View 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