**Purpose**: ntfy (pronounced notify) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, and/or using a REST API. It's infinitely flexible, and 100% free software. ```yaml title="docker-compose.yml" version: "2.1" services: ntfy: image: binwiederhier/ntfy container_name: ntfy command: - serve environment: - NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments - NTFY_BASE_URL=https://ntfy.bunny-lab.io - TZ=America/Denver # optional: Change to your desired timezone #user: UID:GID # optional: Set custom user/group or uid/gid volumes: - /srv/containers/ntfy/cache:/var/cache/ntfy - /srv/containers/ntfy/etc:/etc/ntfy ports: - 80:80 restart: always networks: docker_network: ipv4_address: 192.168.5.45 networks: default: external: name: docker_network docker_network: external: true ``` ```yaml title=".env" Not Applicable ```