service-ntfy/DOKKU.md

33 lines
598 B
Markdown
Raw Normal View History

2023-01-10 16:41:41 +00:00
dokku apps:create notify
2023-01-10 16:54:15 +00:00
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
2023-01-11 10:34:37 +00:00
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