From 0a6459937f84584bdae55099ea98f623ad058e31 Mon Sep 17 00:00:00 2001 From: Ross Hadden Date: Wed, 14 Nov 2018 14:42:22 -0500 Subject: [PATCH] Added .env support. --- .env.example | 6 +++++- docker-compose.yml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 477abe662fe..783c451df17 100644 --- a/.env.example +++ b/.env.example @@ -1,11 +1,15 @@ REACTION_EMAIL=me@example.com REACTION_AUTH=somepassword REACTION_USER=ReactionAdmin + +ROOT_URL=http://localhost:3000 + MONGO_URL=mongodb://mongo:27017/reaction MONGO_OPLOG_URL=mongodb://mongo:27017/local -ROOT_URL=http://localhost:3000 + HYDRA_ADMIN_URL=http://hydra:4445 HYDRA_TOKEN_URL=http://hydra:4444/oauth2/token HYDRA_OAUTH2_INTROSPECT_URL=http://hydra:4445/oauth2/introspect OAUTH2_CLIENT_DOMAINS=http://localhost:4000 + SKIP_FIXTURES=1 diff --git a/docker-compose.yml b/docker-compose.yml index 17728953236..f9501913dfa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,7 @@ services: command: bash -c "meteor npm install && node ./.reaction/waitForMongo.js && reaction" depends_on: - mongo + env_file: .env environment: MONGO_URL: "mongodb://mongo:27017/reaction" MONGO_OPLOG_URL: "mongodb://mongo:27017/local"