Compare commits
3 commits
809e64ca10
...
afbcb3dd74
Author | SHA1 | Date | |
---|---|---|---|
afbcb3dd74 | |||
1708d1ec35 | |||
29dbc8b099 |
2 changed files with 43 additions and 1 deletions
14
.drone.yml
Normal file
14
.drone.yml
Normal 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
|
||||
|
||||
#
|
30
DOKKU.md
30
DOKKU.md
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue