Compare commits

..

3 commits

Author SHA1 Message Date
afbcb3dd74 ci: Add initial pipeline
Some checks failed
continuous-integration/drone Build is failing
2023-01-15 23:31:19 +01:00
1708d1ec35 Add more steps to DOKKU 2023-01-11 11:34:37 +01:00
29dbc8b099 Add instructions for dokku 2023-01-10 17:54:15 +01:00
2 changed files with 43 additions and 1 deletions

14
.drone.yml Normal file
View file

@ -0,0 +1,14 @@
---
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
username: kevinbacon
password: pa55word
repo: foo/bar
tags: latest
#

View file

@ -1,4 +1,32 @@
dokku apps:create notify
docker
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