Created
December 7, 2018 10:10
-
-
Save superchell/5e715822a2a204cc4299652ac4cd7e0a to your computer and use it in GitHub Desktop.
Как установить postgres необходимой версии в dokku?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## устанавливаем плагин dokku postgres ## | |
sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git postgres | |
export POSTGRES_IMAGE_VERSION=9.6 !Важно по умолчанию плагин тянет последнюю стабильную версию postgres, если нам необходимо установить | |
какую-то иную версию, то перед созданием БД устанавливаем эту переменную | |
dokku postgres:create <db name> | |
dokku postgres:link <db name> <app name> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment