mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-24 13:23:21 +03:00
18 lines
392 B
YAML
18 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
|
|
|