environment-deploygood first issuehacktoberfestneed review
Description
Description
The Heroku button is great for a very quick PoC that shows us briefly what #Matrix can do but now I wanna make deepers tests with it.
I tried deploying manually (with Heroku CLI) by following the variables.env file instructions and I just can't make it work with Heroku deploys. Neither docker build nor heroku container:push allow us to use the env_file at build. I tried editing docker-entrypoint.sh file to source the env_file at run time but with no success whatsoever.
I see there is an issue with instructions to add variables manually in Heroku dashboard but we should really have a way to setup things with code.
Steps to Reproduce
First Try
- Create
variables.envfile as per instructions. - edit
docker-entrypoint.shfile to sourcevariables.envat runtime. - Run
heroku container:push web - Run
heroku container:release web - If you run
heroku logs --tailyou'll see that the environment variables were not loaded. None of them.
Second Try
- Instead of creating
variables.env, editheroku.ymland add variables tosetup > config - Same results.
Expected Behavior
- Environment variables should be detected and setup should be properly executed.
Current Behavior
- No setup variables are detected. I can't create custom rooms neither setup Google App Id.
Suggestion
- Update documentation to allow us setup #Matrix in environments without Docker-Compose.