ntfy/docker-compose.yml

17 lines
354 B
YAML
Raw Normal View History

2022-06-02 11:49:08 +12:00
version: "2.1"
services:
ntfy:
image: binwiederhier/ntfy
container_name: ntfy
command:
- serve
2022-06-02 11:50:42 +12:00
user: UID:GID # optional. Set custom user/group or uid/gid
2022-06-02 11:49:08 +12:00
volumes:
- /var/cache/ntfy:/var/cache/ntfy
- /etc/ntfy:/etc/ntfy
2022-06-03 06:58:59 +12:00
- /etc/localtime:/etc/localtime:ro
2022-06-02 11:49:08 +12:00
ports:
- 80:80
restart: unless-stopped