migrate to compose-projects folder and init repo
This commit is contained in:
30
ntfy/docker-compose.yml
Normal file
30
ntfy/docker-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
ntfy:
|
||||
image: binwiederhier/ntfy
|
||||
container_name: ntfy
|
||||
command:
|
||||
- serve
|
||||
environment:
|
||||
- TZ=America/Sao_Paulo # optional: Change to your desired timezone
|
||||
#user: UID:GID # optional: Set custom user/group or uid/gid
|
||||
- NTFY_ENABLE_LOGIN=true
|
||||
- NTFY_AUTH_FILE=/var/lib/ntfy/auth.db
|
||||
- NTFY_CACHE_FILE=/var/lib/ntfy/cache.db
|
||||
- NTFY_BASE_URL=https://ntfy.ccalifice.com
|
||||
- NTFY_AUTH_DEFAULT_ACCESS=deny-all
|
||||
- NTFY_BEHIND_PROXY=true
|
||||
- NTFY_ATTACHMENT_CACHE_DIR=/var/lib/ntfy/attachments
|
||||
volumes:
|
||||
- ./var/cache/ntfy:/var/cache/ntfy
|
||||
- ./var/lib/ntfy/:/var/lib/ntfy/
|
||||
- ./etc/ntfy:/etc/ntfy
|
||||
ports:
|
||||
- 9898:80
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- caddy-net
|
||||
|
||||
networks:
|
||||
caddy-net:
|
||||
external: true
|
||||
name: caddy-net
|
||||
Reference in New Issue
Block a user