Compose deploy blocked by missing required environment variables
Error recorded 3 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.
Seen3 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 app configuration because required password variables were unset. Both the application admin password and PostgreSQL password are required before containers can start. The failure occurred before the services were launched.
What the log looks like
Deploy log
Starting application (docker compose up -d)error while interpolating services.app.environment.ADMIN_PASSWORD: variable DOCKER_COMPOSE_APP_ADMIN_PASSWORD is missing a valueerror while interpolating services.app.environment.DB_PASS: required variable DOCKER_COMPOSE_POSTGRES_PASSWORD is missing a valueerror while interpolating services.postgres.environment.POSTGRES_PASSWORD: required variable DOCKER_COMPOSE_POSTGRES_PASSWORD is missing a value