This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dokku_gitlab [2018/11/03 12:55] – [Configuration] admin | dokku_gitlab [2018/11/04 19:18] (current) – [Port mapping] admin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| https:// | https:// | ||
| + | |||
| + | ===== Todo ===== | ||
| + | |||
| + | * Dynamic Database | ||
| + | * How to set environment vars via Repository and read it in config see https:// | ||
| ===== Add ssh key ===== | ===== Add ssh key ===== | ||
| < | < | ||
| - | cat ~/.ssh/gitlab_dokku_rsa.pub | ssh USER@DOKKU_DOMAIN | + | cat ~/.ssh/id_rsa.pub | ssh root@DOKKU_DOMAIN |
| </ | </ | ||
| Line 59: | Line 64: | ||
| <code bash> | <code bash> | ||
| dokku proxy: | dokku proxy: | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Run command on dokku server within Gitlab ==== | ||
| + | |||
| + | <code bash> | ||
| + | ssh -t dokku@$DOKKU_SERVER -- --force apps: | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Import Database (mariadb) ==== | ||
| + | |||
| + | @see https:// | ||
| + | |||
| + | <code bash> | ||
| + | dokku mariadb: | ||
| + | </ | ||
| + | |||
| + | ==== Show/set environment variables ==== | ||
| + | |||
| + | <code bash> | ||
| + | dokku config: | ||
| + | dokku config:set composer-gitlab-update-gui FLOW_CONTEXT=Production/ | ||
| </ | </ | ||
| ===== Configuration ===== | ===== Configuration ===== | ||
| Line 65: | Line 93: | ||
| * [[http:// | * [[http:// | ||
| '' | '' | ||
| - | * [[http:// | + | * [[http:// |
| * [[https:// | * [[https:// | ||
| https:// | https:// | ||
| Line 74: | Line 102: | ||
| " | " | ||
| } | } | ||
| + | }</ | ||
| + | * Set Nodejs, yarn, npm version in '' | ||
| + | ... | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | ... | ||
| }</ | }</ | ||