service-ntfy/DOKKU.md
2023-01-11 11:34:37 +01:00

32 lines
598 B
Markdown

dokku apps:create notify
Create storage
mkdir -p /home/data/notify.ntfy
mkdir -p /home/data/notify.ntfy/cache
mkdir -p /home/data/notify.ntfy/config
Add storage to app
dokku storage:mount notify /home/data/notify.ntfy/cache:/var/cache/ntfy
dokku storage:mount notify /home/data/notify.ntfy/config:/etc/ntfy
dokku storage:list notify
Deploy
git remote add dokku dokku@example.com:code
git push
Setup ports
dokku proxy:port-report notify
FIXME
Add domain
dokku domains:add notify notify.example.com
Add ssl
dokku letsencrypt:enable notify