Initial commit: ntfy compose setup
This commit is contained in:
commit
4098136326
2 changed files with 24 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
data/
|
||||
config/
|
||||
.env
|
||||
21
compose.yaml
Normal file
21
compose.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
services:
|
||||
ntfy:
|
||||
image: binwiederhier/ntfy:latest
|
||||
container_name: ntfy
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
environment:
|
||||
- NTFY_BASE_URL=http://10.4.1.110
|
||||
- NTFY_UPSTREAM_BASE_URL=https://ntfy.sh
|
||||
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
|
||||
- NTFY_UPSTREAM_ACCESS_TOKEN_FILE=/etc/ntfy/upstream_token
|
||||
volumes:
|
||||
- ./data:/var/cache/ntfy
|
||||
- ./config:/etc/ntfy
|
||||
networks:
|
||||
- ntfy-net
|
||||
|
||||
networks:
|
||||
ntfy-net:
|
||||
driver: bridge
|
||||
Loading…
Add table
Add a link
Reference in a new issue