Specify the type of temporary database to create.
Credentials for each database server will be exposed as environment variables with a PREFIX_ based on the
type of server.
- TYPE_HOST
-
hostname or IP of database server.
Example: Redis would be
REDIS_HOST=i.mktmp.io
- TYPE_PORT
-
port the server is listening on.
Example: Postgres would be
POSTGRES_PORT=54321
- TYPE_USERNAME
-
root-level user to use when connecting to the server, if required.
Example: Postgres-9.5 would be
POSTGRES95_USERNAME=postgres
- TYPE_PASSWORD
-
password for server, if required.
Example: MySQL would be
MYSQL_PASSWORD=1a2c4f3d
- TYPE_ID
-
mktmpio instance id, which can be useful for debugging.
Example: MongoDB would be
MONGODB_ID=1a2c4f3d
- TYPE_TYPE
-
type of server that has been created
Example: PostgreSQL-9.5 would be
MONGODB_TYPE=postgres-9.5