Docker Compose app failed: required environment variables are missing
Error recorded 1 times in PanelAlpha Engine deploys on Docker Compose. The deploy log below is the recorded failure output.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen1 times
WhereDocker Compose
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
Docker Compose could not interpolate the configuration because required values for DATABASE_PASSWORD, REDIS_PASSWORD, and SECRET_KEY were not provided. The available .env.example defaults do not define these required secrets, so the application did not start.
What the log looks like
Deploy log
Detected project type: Docker ComposeUsing strategy: composeStarting application (docker compose up -d)error while interpolating services.backend.environment.DATABASE_PASSWORD: variable DATABASE_PASSWORD is missing a valueerror while interpolating services.redis.command: required variable REDIS_PASSWORD is missing a valueerror while interpolating x-backend-variables.SECRET_KEY: variable SECRET_KEY is missing a valueDeploy failed: Failed to start app