Files
coolify-examples/elixir-phoenix/README.md
2024-09-10 14:09:44 +02:00

475 B

Elixir Phoenix Configuration

  • 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)