User Tools

Site Tools


dokku_gitlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dokku_gitlab [2018/11/03 13:55] – [Configuration] admindokku_gitlab [2018/11/04 17:48] – [Configuration] admin
Line 6: Line 6:
  
 <code> <code>
-cat ~/.ssh/gitlab_dokku_rsa.pub | ssh USER@DOKKU_DOMAIN "sudo sshcommand acl-add dokku NAME"+cat ~/.ssh/id_rsa.pub | ssh root@DOKKU_DOMAIN dokku ssh-keys:add KEY_NAME
 </code> </code>
  
Line 59: Line 59:
 <code bash> <code bash>
 dokku proxy:report dokku proxy:report
 +</code>
 +
 +==== Import Database (mariadb) ====
 +
 +@see https://github.com/dokku/dokku-mariadb#commands
 +
 +<code bash>
 +dokku mariadb:import composer-gitlab-update-gui-database < ./c1cgu.sql
 +</code>
 +
 +==== Show/set environment variables ====
 +
 +<code bash>
 +dokku config:export --format shell composer-gitlab-update-gui
 +dokku config:set composer-gitlab-update-gui FLOW_CONTEXT=Production/Dokku
 </code> </code>
 ===== Configuration ===== ===== Configuration =====
Line 65: Line 80:
   * [[http://dokku.viewdocs.io/dokku/deployment/methods/dockerfiles/#procfiles-and-multiple-processes|Procfile]] : Start application e.g. ''web: bundle exec puma -C config/puma.rb   * [[http://dokku.viewdocs.io/dokku/deployment/methods/dockerfiles/#procfiles-and-multiple-processes|Procfile]] : Start application e.g. ''web: bundle exec puma -C config/puma.rb
 '' ''
-  * [[http://dokku.viewdocs.io/dokku/advanced-usage/deployment-tasks/#appjson-and-scriptsdokku|app.json]] : Run command at deployment time +  * [[http://dokku.viewdocs.io/dokku/advanced-usage/deployment-tasks/#example-appjson|app.json]] : Run command at deployment time, sent .env vars
   * [[https://medium.com/@michiels/how-to-deploy-rails-5-1-2-and-yarn-on-dokku-65ddbade9a58|.buildpacks]] : Define a buildpack e.g. <code>https://github.com/heroku/heroku-buildpack-nodejs.git#v131   * [[https://medium.com/@michiels/how-to-deploy-rails-5-1-2-and-yarn-on-dokku-65ddbade9a58|.buildpacks]] : Define a buildpack e.g. <code>https://github.com/heroku/heroku-buildpack-nodejs.git#v131
 https://github.com/heroku/heroku-buildpack-php.git#v145</code> https://github.com/heroku/heroku-buildpack-php.git#v145</code>
Line 74: Line 89:
       "ext-xsl": "*"       "ext-xsl": "*"
     }     }
 +}</code>
 +  * Set Nodejs, yarn, npm version in ''package.json'': <code json>{
 +...
 +  "engines": {
 +    "node": "10.12.0",
 +    "yarn": "1.12.1",
 +    "npm": "6.4.1"
 +  },
 +...
 }</code> }</code>
  
dokku_gitlab.txt · Last modified: 2018/11/04 20:18 by admin