Docker Compose app failed on an invalid environment key
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
The Compose file contains a numeric key (0) under the Postgres service's environment section. Docker Compose expects environment variable names to be strings, so the application could not start.
What the log looks like
Deploy log
Starting application (docker compose up -d)non-string key in services.<account>-postgres.environment: 0Deploy failed: Failed to start app: non-string key in services.<account>-postgres.environment: 0