From 3187265032fc9cd280cd8fc4b5006f35ef95420d Mon Sep 17 00:00:00 2001 From: Leopere Date: Wed, 3 Oct 2018 13:48:37 -0400 Subject: [PATCH] Added mariadb envvars --- chainquery/docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chainquery/docker-compose.yml b/chainquery/docker-compose.yml index 2c11de0..0473195 100644 --- a/chainquery/docker-compose.yml +++ b/chainquery/docker-compose.yml @@ -31,11 +31,11 @@ services: environment: ## These variables are stored in the .env file next to this docker-compose.yml file. ## I will include a default .env file and .gitignore the ".env" pattern so you should be able to just git pull in the future if you need to. - MYSQL_SERVER: ${MYSQL_SERVER} - MYSQL_USER: ${MYSQL_USER} - MYSQL_PASSWORD: ${MYSQL_PASSWORD} - MYSQL_DATABASE: ${MYSQL_DATABASE} - MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} + MYSQL_SERVER: ${MYSQL_SERVER:-10.10.0.10} + MYSQL_USER: ${MYSQL_USER:-changeme} + MYSQL_PASSWORD: ${MYSQL_PASSWORD:-changeme} + MYSQL_DATABASE: ${MYSQL_DATABASE:-changeme} + MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-changeme} expose: - 3306 volumes: