Skip to content

Phoenix

Phoenix is a productive web framework that does not compromise speed and maintainability written in Elixir/Erlang.

Requirements

  • Set Build Pack to nixpacks
  • Set MIX_ENV to prod
    • It should be a Build time environment variable
  • Set SECRET_KEY_BASE to a random string (https://hexdocs.pm/phoenix/deployment.html#handling-of-your-application-secrets)
    • It should be a Build time environment variable
  • Set DATABASE_URL to your database connection string
    • It should be a Build time environment variable
  • Set Ports Exposes to 4000 (default)