Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat env file #4822

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down