Compose variables live in .env.sample, which the engine does not copy
Error recorded 6 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.
Seen6 times
WhereDocker Compose
StatusIn AnalysisOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The compose file requires variables such as WEB_SERVER_PORT and CONFIG_PATH. The repository provides them in .env.sample, but the engine only seeds .env from .env.example.
What the log looks like
Deploy log
error while interpolating services.borgwarehouse.ports.[]: required variable WEB_SERVER_PORT is missing a value: WEB_SERVER_PORT variable missingerror while interpolating services.borgwarehouse.ports.[]: required variable SSH_SERVER_PORT is missing a value: SSH_SERVER_PORT variable missingerror while interpolating services.borgwarehouse.volumes.[]: required variable CONFIG_PATH is missing a value: CONFIG_PATH variable missingerror while interpolating services.borgwarehouse.volumes.[]: required variable SSH_PATH is missing a value: SSH_PATH variable missingerror while interpolating services…