--- version: "3.4" services: ntfy: build: . image: glenux/ntfy command: - serve environment: # optional: set desired timezone TZ: UTC # optional: replace with your own user/group or uid/gid user: ${UID:-}:${GID:-} volumes: - /var/cache/ntfy:/var/cache/ntfy - /etc/ntfy:/etc/ntfy # ports: # - 80:80 #restart: unless-stopped