1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-14 11:47:33 +00:00
binwiederhier-ntfy/docker-compose.yml

17 lines
354 B
YAML
Raw Normal View History

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