Are arbitrary configurations allowed? Can I create “staging”, “pre_staging”, “best_release” and so on? Any configuration of my choice.
I’ve created one called “staging” by:
– passing the variable MIX_ENV=staging to systemd service
– creating 2 additional config files: staging.exs and staging.secret.exs included in it.
And I’ve deployed it on a different server with the domain name “staging.my_domain.com”. However, it didn’t work.
Does Phoenix support such configurations? Does it support only 3 ones: prod, dev and test?
Do I have to use “prod” even on staging? + Env. variables