You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most other projects in the Reaction ecosystem now use a .env file for ENV variables that need to be set. They include a committed .env.example file, which is copied to a gitignored .env before building.
Work
Update the installation instructions in the public docs to document how environment variables work in the API project.
Create a .env.example file and .env file. Add all variables that are currently in the environment section of docker-compose.yml
Add .env to .gitignore
Remove the environment section from docker-compose.yml and replace with:
env_file:
- ./.env
Add pre-build project hook that creates/updates the .env file, the same as the script in the other repos. Note, however, that it cannot be in bin/setup because of Meteor's eager loading. It should be in .reaction/scripts.
The text was updated successfully, but these errors were encountered:
Most other projects in the Reaction ecosystem now use a
.env
file for ENV variables that need to be set. They include a committed.env.example
file, which is copied to a gitignored.env
before building.Work
.env.example
file and.env
file. Add all variables that are currently in theenvironment
section ofdocker-compose.yml
.env
to.gitignore
environment
section fromdocker-compose.yml
and replace with:.env
file, the same as the script in the other repos. Note, however, that it cannot be inbin/setup
because of Meteor's eager loading. It should be in.reaction/scripts
.The text was updated successfully, but these errors were encountered: