Initial commit: ntfy compose setup
This commit is contained in:
parent
4098136326
commit
4109ae52ba
2 changed files with 3 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,2 @@
|
|||
data/
|
||||
config/
|
||||
.env
|
||||
|
|
|
|||
|
|
@ -3,16 +3,14 @@ services:
|
|||
image: binwiederhier/ntfy:latest
|
||||
container_name: ntfy
|
||||
restart: unless-stopped
|
||||
command: serve
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8085:80"
|
||||
environment:
|
||||
- NTFY_BASE_URL=http://10.4.1.110
|
||||
- NTFY_UPSTREAM_BASE_URL=https://ntfy.sh
|
||||
- NTFY_BASE_URL=http://10.4.1.110:8085
|
||||
- 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue