Report this

What is the reason for this report?

App.yaml file is not detected in the root or .do directory

Posted on November 16, 2025

I have a GitHub repo with a backend and a frontend application (both run in a docker container) and an app.yaml file in the .do subdirectory (it was in root before) and a docker-compose.yml in the root directory.

When I try to create an app the app.yaml and providing no sub directory the app.yaml is not detected and I receive an “No components detected:” error message.

I could deploy the backend and the frontend in two apps but I want a combined deployment.

What I am missing? Why does the deployment assistant does not detect the app.yaml file? (I have included the content at the end).

Kind regards,

Peter

The app.yaml file in the .do subdirectory (or root before that):

name: ommiquiz-app

services:

  • name: backend source_dir: backend run_command: uvicorn app.main:app --host 0.0.0.0 --port 8080 environment_slug: python instance_count: 1 instance_size_slug: basic-xxs http_port: 8080 health_check: http_path: /api/health envs:
    • key: PYTHONUNBUFFERED value: “1” routes:
    • path: /api

static_sites:

  • name: frontend source_dir: frontend build_command: npm install && npm run build environment_slug: node-js output_dir: build envs:
    • key: REACT_APP_API_URL value: “/api” routes:
    • path: /


This textbox defaults to using Markdown to format your answer.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.