/minimal-dash-app

A minimal Dash app used for App Runner demo.

Primary LanguagePython

minimal-dash-app

A minimal Dash app used for App Runner demo.

apprunner.yaml

Configuration file for App Runner. For an overview of App Runner configuration files, see Setting App Runner service options using a configuration file.

You can also configure your App Runner service(app) from App Runner console instead of this configuration file.

HTTP Health Check

Add a Health Check Endpoint to use HTTP Health Check with App Runner.

@app.server.route("/health")
def healthcheck():
  app.logger.info("Healthy")
  return "{status: ok}"

When you create a new App Runner service(app), change check protocol and path like below:

health check configuraiton

.devcontainer/devcontainer.json

Configuration file for GitHub codespaces. This is not required to use App Runner.