service-ntfy/docker-compose.yml

21 lines
396 B
YAML
Raw Normal View History

2023-01-10 16:41:41 +00:00
---
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