mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-04-03 21:27:35 +03:00
add tzdata to image and use env for docker timezone
This commit is contained in:
parent
f6dee345b7
commit
ae3163c5b1
3 changed files with 10 additions and 6 deletions
|
@ -5,11 +5,12 @@ services:
|
|||
container_name: ntfy
|
||||
command:
|
||||
- serve
|
||||
user: UID:GID # optional. Set custom user/group or uid/gid
|
||||
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
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- 80:80
|
||||
restart: unless-stopped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue