services:
ntfy:
volumes:
- /var/cache/ntfy:/var/cache/ntfy # Volume to store the cache file (persistence)
- /etc/ntfy:/etc/ntfy # Volume for ntfy server configuration (ntfy.yml)
ports:
- 1231:80 # Expose port 80 of the container to port 1231 on the host
stdin_open: true # Keeps stdin open
tty: true # Allocates a virtual terminal
image: binwiederhier/ntfy
command: serve --cache-file /var/cache/ntfy/cache.db # Starts the ntfy server with a local SQLite cachefile to store messages
NTFY
Related
Firefox
·1 min
Docker
Gitea
·2 mins
Docker
Jellyfin
·1 min
Docker
Media
Myspeed
·1 min
Docker
Nextcloud
·1 min
Docker
Storage
Nginx
·1 min
Docker