chore: Update Phoenix application configuration for build time environment variables

This commit is contained in:
Andras Bacsai
2024-09-10 14:08:59 +02:00
parent fac5825ee3
commit 5d6c4a8965

View File

@@ -14,6 +14,9 @@ Phoenix is a productive web framework that does not compromise speed and maintai
- 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)