mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-09 05:14:15 +01:00
17 lines
392 B
YAML
17 lines
392 B
YAML
version: "2.1"
|
|
services:
|
|
ntfy:
|
|
image: binwiederhier/ntfy
|
|
container_name: ntfy
|
|
command:
|
|
- serve
|
|
environment:
|
|
- TZ=UTC # optional: Change to your desired timezone
|
|
user: UID:GID # optional: Set custom user/group or uid/gid
|
|
volumes:
|
|
- /var/cache/ntfy:/var/cache/ntfy
|
|
- /etc/ntfy:/etc/ntfy
|
|
ports:
|
|
- 80:80
|
|
restart: unless-stopped
|
|
|