#matrix is the online open-source workplace inspired in sococo.com for distributed teams to have the experience of work together each day, side-by-side. No matter where team members might be. Working in an online workplace is even more productive when people are feeling in the same space.
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.env file as per instructions.
edit docker-entrypoint.sh file to source variables.env at runtime.
Run heroku container:push web
Run heroku container:release web
If you run heroku logs --tail you'll see that the environment variables were not loaded. None of them.
Second Try
Instead of creating variables.env, edit heroku.yml and add variables to setup > 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.
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. Neitherdocker build
norheroku container:push
allow us to use the env_file at build. I tried editingdocker-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
variables.env
file as per instructions.docker-entrypoint.sh
file to sourcevariables.env
at runtime.heroku container:push web
heroku container:release web
heroku logs --tail
you'll see that the environment variables were not loaded. None of them.Second Try
variables.env
, editheroku.yml
and add variables tosetup > config
Expected Behavior
Current Behavior
Suggestion