chore: add version mangement and reorganize data in nammed docker volume

This commit is contained in:
2026-01-23 11:05:38 +00:00
parent 10ce4d91e9
commit 0e58e22732
2 changed files with 8 additions and 4 deletions

2
.gitignore vendored
View File

@@ -1 +1 @@
auth.db
/etc

View File

@@ -1,18 +1,22 @@
services:
ntfy:
image: binwiederhier/ntfy:latest
image: binwiederhier/ntfy:v2.16
container_name: ntfy
restart: always
command:
- serve
volumes:
- /var/cache/ntfy:/var/cache/ntfy
- /etc/ntfy:/etc/ntfy
- ntfy_cache:/var/cache/ntfy
- ./etc:/etc/ntfy
env_file:
- ntfy.env
networks:
- reverse-proxy
volumes:
ntfy_cache:
external: true
networks:
reverse-proxy:
external: true