env
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m46s
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 3m46s
This commit is contained in:
@@ -108,18 +108,35 @@ Next.js App (port 3000)
|
||||
- `staging.klz-cables.com` - Staging
|
||||
|
||||
## Environment Variables
|
||||
|
||||
|
||||
### Build-time (in Dockerfile/Workflow)
|
||||
|
||||
|
||||
These variables are baked into the Docker image during the build process.
|
||||
|
||||
- `NEXT_PUBLIC_BASE_URL` (Required)
|
||||
- `NEXT_PUBLIC_UMAMI_WEBSITE_ID`
|
||||
- `NEXT_PUBLIC_UMAMI_SCRIPT_URL`
|
||||
- `NEXT_PUBLIC_SENTRY_DSN`
|
||||
|
||||
### Runtime (in docker-compose.yml)
|
||||
|
||||
- `SENTRY_DSN`
|
||||
|
||||
### Runtime (in docker-compose.yml)
|
||||
|
||||
These variables are passed to the container at runtime.
|
||||
|
||||
- `NODE_ENV` (Defaults to `production`)
|
||||
- `NEXT_PUBLIC_BASE_URL` (Must be passed again at runtime for server-side use)
|
||||
- `SENTRY_DSN`
|
||||
- `MAIL_HOST`
|
||||
- `MAIL_PORT`
|
||||
- `MAIL_USERNAME`
|
||||
- `MAIL_PASSWORD`
|
||||
- `MAIL_FROM`
|
||||
- `MAIL_RECIPIENTS`
|
||||
- `REDIS_URL`
|
||||
- `REDIS_KEY_PREFIX`
|
||||
|
||||
### Local Development
|
||||
|
||||
For local development, use a `.env` file. The `docker-compose.override.yml` file automatically loads this file for the `app` service.
|
||||
|
||||
## Monitoring
|
||||
|
||||
|
||||
Reference in New Issue
Block a user