Update doc
This commit is contained in:
parent
8a77307e73
commit
fe48a69375
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -1,7 +1,20 @@
|
||||||
|
# Drone Server
|
||||||
|
|
||||||
## Setup on Dokku
|
## Setup on Dokku
|
||||||
|
|
||||||
|
Create APP
|
||||||
|
|
||||||
dokku apps:create cicd
|
dokku apps:create cicd
|
||||||
|
|
||||||
|
Setup Network & Domains
|
||||||
|
|
||||||
|
dokku network:create cicd_net
|
||||||
|
dokku network:set cicd initial-network cicd_net
|
||||||
|
|
||||||
|
Setup Storage
|
||||||
|
|
||||||
|
Setup Configuration
|
||||||
|
|
||||||
dokku config:set cicd DRONE_DATABASE_DRIVER=sqlite3
|
dokku config:set cicd DRONE_DATABASE_DRIVER=sqlite3
|
||||||
dokku config:set cicd DRONE_DATABASE_DATASOURCE=/data/database.sqlite
|
dokku config:set cicd DRONE_DATABASE_DATASOURCE=/data/database.sqlite
|
||||||
dokku config:set cicd DRONE_GIT_ALWAYS_AUTH="false"
|
dokku config:set cicd DRONE_GIT_ALWAYS_AUTH="false"
|
||||||
|
@ -9,6 +22,9 @@
|
||||||
dokku config:set cicd DRONE_SERVER_PROTO=http
|
dokku config:set cicd DRONE_SERVER_PROTO=http
|
||||||
dokku config:set cicd DRONE_TLS_AUTOCERT=false
|
dokku config:set cicd DRONE_TLS_AUTOCERT=false
|
||||||
dokku config:set cicd DRONE_SERVER_HOST=localhost:3001
|
dokku config:set cicd DRONE_SERVER_HOST=localhost:3001
|
||||||
|
|
||||||
|
Deploy
|
||||||
|
|
||||||
git remote add dokku dokku@dinlas.apps.glenux.net:cicd
|
git remote add dokku dokku@dinlas.apps.glenux.net:cicd
|
||||||
git push
|
git push
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue