docker-compose.yml 313 B

123456789101112131415
  1. version: "2.1"
  2. services:
  3. ntfy:
  4. image: binwiederhier/ntfy
  5. container_name: ntfy
  6. command:
  7. - serve
  8. user: UID:GID # optional. Set custom user/group or uid/gid
  9. volumes:
  10. - /var/cache/ntfy:/var/cache/ntfy
  11. - /etc/ntfy:/etc/ntfy
  12. ports:
  13. - 80:80
  14. restart: unless-stopped