docker-compose.yml 392 B

1234567891011121314151617
  1. version: "2.1"
  2. services:
  3. ntfy:
  4. image: binwiederhier/ntfy
  5. container_name: ntfy
  6. command:
  7. - serve
  8. environment:
  9. - TZ=UTC # optional: Change to your desired timezone
  10. user: UID:GID # optional: Set custom user/group or uid/gid
  11. volumes:
  12. - /var/cache/ntfy:/var/cache/ntfy
  13. - /etc/ntfy:/etc/ntfy
  14. ports:
  15. - 80:80
  16. restart: unless-stopped