Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

iso3166 MySQL

From the keycloak/keycloak-adapter-wildfly docker image to use MySQL

Usage

Start a MySQL instance

First start a MySQL instance using the MySQL docker image:

docker run --name mysql -e MYSQL_DATABASE=iso3166 -e MYSQL_USER=iso3166 -e MYSQL_PASSWORD=password -e MYSQL_ROOT_PASSWORD=root_password -d mysql

Start a iso3166 instance

Start a iso3166 instance and connect to the MySQL instance:

docker run --name iso3166 --link mysql:mysql sistcoop/iso3166-mysql

Environment variables

When starting the iso3166 instance you can pass a number of environment variables to configure how it connects to MySQL. For example:

docker run --name iso3166 --link mysql:mysql -e MYSQL_DATABASE=kcdb -e MYSQL_USER=kcuser -e MYSQL_PASSWORD=kcpassword sistcoop/iso3166-mysql

MYSQL_DATABASE

Specify name of MySQL database (optional, default is iso3166).

MYSQL_USER

Specify user for MySQL database (optional, default is iso3166).

MYSQL_PASSWORD

Specify password for MySQL database (optional, default is iso3166).

Docker Pull Command
Owner
sistcoop
Source Repository

Comments (0)