Compose env file created empty although the repository ships its template
The service openstatus-workflows did not start (unhealthy), so the application was not started either. It printed: [0m[1m[31merror[0m: Uncaught (in promise) Error: Invalid environment variables at [0m[36mfile:///tmp/deno-compile-app/_serve.bundle.mjs[0m:[0m[33m249[0m:[0m[33m124032[0m at [0m[1m[3mZl[0m ([0m[36mfile:///tmp/deno-compile-app/_serve.bundle.mjs[0m:[0m[33m249[0m:[0m[33m124220[0m) at [0m[36mfile… The full output is in the deploy log.
Why it happens
The compose file loads .env.docker, and the repository ships .env.docker.example for it. The engine created an empty .env.docker instead of copying the template, so the workflows service failed its environment check.
What the log looks like
error: service openstatus-workflows did not start (unhealthy): error: Uncaught (in promise) Error: Invalid environment variables at file:///tmp/deno-compile-app/_serve.bundle.mjs:249:124032 at Zl (file:///tmp/deno-compile-app/_serve.bundle.mjs:249:124220) at file:///tmp/deno-compile-app/_serve.bundle.mjs:384:1491Container openstatus-db-migrate ExitedContainer openstatus-db-migrate ExitedContainer openstatus-workflows Error dependency workflows failed to startdependency failed to start: container openstatus-workflows is unhealthy