feat: added dokuwiki

This commit is contained in:
sujiba 2024-05-06 16:13:19 +02:00
parent 3978c4645d
commit e615c1819e
3 changed files with 45 additions and 11 deletions

View file

@ -16,14 +16,34 @@
```
## Config
```
# Start container
docker compose up -d && docker compose logs -f
# Move config file into ntfy directory
mv server.yml volumes/ntfy/
# Restart ntfy container
docker compose restart
# Access the container shell
docker compose exec -it ntfy sh
# Create a admin
ntfy user add --role=admin username
# Create a user and grant read / write access to topic
ntfy user add --role=user username
ntfy access username topic rw
# Create web push key pair
# required for background push notification with webapp
ntfy webpush keys
# Edit ntfy config
vi server.yml
# Move file into ntfy directory
mv server.yml volumes/ntfy
# Start ntfy container
docker compose up -d
```
# Restart ntfy container again
docker compose restart
```