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