service-ntfy/docker-compose.yml
2023-01-10 17:41:41 +01:00

20 lines
396 B
YAML

---
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