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
Last revisionBoth sides next revision
dokku_gitlab [2018/11/03 20:17] – [Configuration] admindokku_gitlab [2018/11/04 18:57] admin
Line 2: Line 2:
  
 https://www.youtube.com/watch?v=O6p7g59Ccj8 https://www.youtube.com/watch?v=O6p7g59Ccj8
 +
 +===== Todo =====
 +
 +  * Dynamic Database
 +  * How to set environment vars via Repository and read it in config see https://flowframework.readthedocs.io/en/stable/TheDefinitiveGuide/PartIII/Configuration.html
  
 ===== Add ssh key ===== ===== Add ssh key =====
Line 59: Line 64:
 <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 74: Line 94:
       "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