Fix MYSQL_USER and unhid .env files

This commit is contained in:
Leopere 2018-12-20 03:48:23 -05:00
parent 3518092aa4
commit 470b9013df
No known key found for this signature in database
GPG key ID: 64476C903E477CCB
4 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ services:
aliases: aliases:
- mysql - mysql
env_file: env_file:
- .env - env
expose: expose:
- 3306 - 3306
## TODO: I want to find a way that is acceptable to everyone to lock this up ## TODO: I want to find a way that is acceptable to everyone to lock this up
@ -42,8 +42,8 @@ services:
lbry-network: lbry-network:
ipv4_address: 10.6.1.3 ipv4_address: 10.6.1.3
env_file: env_file:
- .env - env
- ../lbrycrd/.env - ../lbrycrd/env
labels: labels:
- "traefik.expose=false" - "traefik.expose=false"
expose: expose:

View file

@ -10,7 +10,7 @@ DEBUGMODE=false
## Mysql Creds ## ## Mysql Creds ##
################# #################
MYSQL_SERVER=10.5.1.10 MYSQL_SERVER=10.5.1.10
MYSQL_USER=root MYSQL_USER=chainquery
MYSQL_PASSWORD=changeme MYSQL_PASSWORD=changeme
MYSQL_DATABASE=chainquery MYSQL_DATABASE=chainquery
MYSQL_ROOT_PASSWORD=changeme MYSQL_ROOT_PASSWORD=changeme

View file

@ -19,7 +19,7 @@ services:
environment: environment:
RUN_MODE: chainquery RUN_MODE: chainquery
env_file: env_file:
- .env - env
expose: expose:
- 9245 - 9245
- 9246 - 9246