2024-03-20 22:47:53 +01:00
|
|
|
# ntfy
|
|
|
|
|
2024-05-05 14:00:09 +02:00
|
|
|
- [ntfy](#ntfy)
|
|
|
|
- [Directory structure](#directory-structure)
|
|
|
|
- [Config](#config)
|
|
|
|
|
|
|
|
## Directory structure
|
|
|
|
```
|
|
|
|
/opt/docker/ntfy
|
|
|
|
.
|
|
|
|
├── docker-compose.yml
|
|
|
|
└── volumes
|
|
|
|
├── cache
|
|
|
|
└── ntfy
|
|
|
|
└── server.yml
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Config
|
2024-03-20 22:47:53 +01:00
|
|
|
```
|
2024-05-05 14:00:09 +02:00
|
|
|
# Edit ntfy config
|
|
|
|
vi server.yml
|
|
|
|
|
|
|
|
# Move file into ntfy directory
|
|
|
|
mv server.yml volumes/ntfy
|
2024-03-20 22:49:29 +01:00
|
|
|
|
2024-05-05 14:00:09 +02:00
|
|
|
# Start ntfy container
|
|
|
|
docker compose up -d
|
2024-03-20 22:47:53 +01:00
|
|
|
```
|