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: services:
ntfy: ntfy:
image: binwiederhier/ntfy:latest image: binwiederhier/ntfy:v2.16
container_name: ntfy container_name: ntfy
restart: always restart: always
command: command:
- serve - serve
volumes: volumes:
- /var/cache/ntfy:/var/cache/ntfy - ntfy_cache:/var/cache/ntfy
- /etc/ntfy:/etc/ntfy - ./etc:/etc/ntfy
env_file: env_file:
- ntfy.env - ntfy.env
networks: networks:
- reverse-proxy - reverse-proxy
volumes:
ntfy_cache:
external: true
networks: networks:
reverse-proxy: reverse-proxy:
external: true external: true