Docker Compose deployment fails on an invalid environment entry
Error recorded 2 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.
Seen2 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 start the project because the PostgreSQL service has an environment entry with a numeric key (0). This usually means the environment section is malformed or was transformed into an indexed object instead of valid Compose syntax.
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