From 470b9013df8bead867e7ef7cd0b01b77b9250984 Mon Sep 17 00:00:00 2001 From: Leopere Date: Thu, 20 Dec 2018 03:48:23 -0500 Subject: [PATCH] Fix MYSQL_USER and unhid .env files --- chainquery/docker-compose.yml | 6 +++--- chainquery/{.env => env} | 2 +- lbrycrd/docker-compose.yml | 2 +- lbrycrd/{.env => env} | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename chainquery/{.env => env} (93%) rename lbrycrd/{.env => env} (100%) diff --git a/chainquery/docker-compose.yml b/chainquery/docker-compose.yml index dbf6260..eabb287 100644 --- a/chainquery/docker-compose.yml +++ b/chainquery/docker-compose.yml @@ -19,7 +19,7 @@ services: aliases: - mysql env_file: - - .env + - env expose: - 3306 ## TODO: I want to find a way that is acceptable to everyone to lock this up @@ -42,8 +42,8 @@ services: lbry-network: ipv4_address: 10.6.1.3 env_file: - - .env - - ../lbrycrd/.env + - env + - ../lbrycrd/env labels: - "traefik.expose=false" expose: diff --git a/chainquery/.env b/chainquery/env similarity index 93% rename from chainquery/.env rename to chainquery/env index 817badd..ca64fcf 100644 --- a/chainquery/.env +++ b/chainquery/env @@ -10,7 +10,7 @@ DEBUGMODE=false ## Mysql Creds ## ################# MYSQL_SERVER=10.5.1.10 -MYSQL_USER=root +MYSQL_USER=chainquery MYSQL_PASSWORD=changeme MYSQL_DATABASE=chainquery MYSQL_ROOT_PASSWORD=changeme diff --git a/lbrycrd/docker-compose.yml b/lbrycrd/docker-compose.yml index 2b52991..5157972 100644 --- a/lbrycrd/docker-compose.yml +++ b/lbrycrd/docker-compose.yml @@ -19,7 +19,7 @@ services: environment: RUN_MODE: chainquery env_file: - - .env + - env expose: - 9245 - 9246 diff --git a/lbrycrd/.env b/lbrycrd/env similarity index 100% rename from lbrycrd/.env rename to lbrycrd/env