Example of running a Phoenix Elixir app on Pivotal Cloud Foundry (PWS/Pivotal Web Services) and Heroku
- Uses https://github.com/HashNuke/heroku-buildpack-elixir.git custom buildpack
- Compiles static files
- Postgres database (elephantsql) service works (must manually provision)
- Requires manual
cf set-envofCLOUD_PHOENIX_SECRET_KEY_BASE - Continuous Integration autodeploy via Buildkite
- See repo tags for incremental steps taken to get it all working
- Requires manual set of env var
CLOUD_PHOENIX_SECRET_KEY_BASE heroku git:remote -a cf-phoenixheroku buildpacks:set https://github.com/HashNuke/heroku-buildpack-elixirheroku buildpacks:add https://github.com/gjaldon/heroku-buildpack-phoenix-staticgit push heroku master