add user to compose file

pull/304/head
ksurl 2022-06-01 16:50:42 -07:00
parent 430f985fca
commit a898a2ebe8
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ services:
container_name: ntfy container_name: ntfy
command: command:
- serve - serve
user: UID:GID # optional. Set custom user/group or uid/gid
volumes: volumes:
- /var/cache/ntfy:/var/cache/ntfy - /var/cache/ntfy:/var/cache/ntfy
- /etc/ntfy:/etc/ntfy - /etc/ntfy:/etc/ntfy