29 lines
418 B
Markdown
29 lines
418 B
Markdown
# ntfy
|
|
|
|
- [ntfy](#ntfy)
|
|
- [Directory structure](#directory-structure)
|
|
- [Config](#config)
|
|
|
|
## Directory structure
|
|
```
|
|
/opt/docker/ntfy
|
|
.
|
|
├── docker-compose.yml
|
|
└── volumes
|
|
├── cache
|
|
└── ntfy
|
|
└── server.yml
|
|
```
|
|
|
|
|
|
## Config
|
|
```
|
|
# Edit ntfy config
|
|
vi server.yml
|
|
|
|
# Move file into ntfy directory
|
|
mv server.yml volumes/ntfy
|
|
|
|
# Start ntfy container
|
|
docker compose up -d
|
|
```
|