add central place for configuration

This commit is contained in:
Jose Diaz-Gonzalez
2015-08-29 01:51:08 -04:00
parent d4a88cc2f4
commit 0db07a676d

13
config Normal file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
export MYSQL_IMAGE=${MYSQL_IMAGE:="mysql"}
export MYSQL_IMAGE_VERSION=${MYSQL_IMAGE_VERSION:="5.7"}
export MYSQL_ROOT=/var/lib/dokku/services/mysql
export PLUGIN_COMMAND_PREFIX="mysql"
export PLUGIN_DATA_ROOT=$MYSQL_ROOT
export PLUGIN_DATASTORE_PORT=3306
export PLUGIN_DEFAULT_ALIAS="DATABASE"
export PLUGIN_IMAGE=$MYSQL_IMAGE
export PLUGIN_IMAGE_VERSION=$MYSQL_IMAGE_VERSION
export PLUGIN_SCHEME="mysql"
export PLUGIN_SERVICE="MySQL"