2022-06-02 01:49:08 +02:00
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
ntfy:
|
|
|
|
image: binwiederhier/ntfy
|
|
|
|
container_name: ntfy
|
|
|
|
command:
|
|
|
|
- serve
|
2022-06-02 22:35:49 +02:00
|
|
|
environment:
|
|
|
|
- TZ=UTC # optional: Change to your desired timezone
|
|
|
|
user: UID:GID # optional: Set custom user/group or uid/gid
|
2022-06-02 01:49:08 +02:00
|
|
|
volumes:
|
|
|
|
- /var/cache/ntfy:/var/cache/ntfy
|
|
|
|
- /etc/ntfy:/etc/ntfy
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
restart: unless-stopped
|
|
|
|
|