Question

Configuring Healthchecks for DigitalOcean Apps

Hello, I’m working on a DOAppPlatform/FastAPI/SQLAlchemy template project. I’d like to configure health checks but have so far been unable to do so. Is there something wrong with my configuration?

https://github.com/justinrmiller/fastapi-sqlalchemy-doapp/blob/master/.do/app.yaml#L9

Thanks! Justin

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

👋🏼 @jrmiller42

The health checks configuration looks right to me. Can you double check that they are being applied to your app? In the control panel, go to your app and, under the Settings tab, click on “View App Spec”. Do you see the correct config there?

If not, you will need to apply the spec to your existing app using doctl:

  1. Install doctl
  2. List your apps and find your app’s UUID: doctl apps list
  3. In the directory of your git repo, run: doctl apps update --spec .do/app.yaml APP-UUID. This will kick off a new deployment with the spec changes.