Skip to content

[BUG] docker-compose.yml validation fails because frontend service is nested under volumes #553

@Kishalll

Description

@Kishalll

Description of the Bug

When attempting to start the project using Docker Compose, it fails with a validation error. In docker-
compose.yml (around line 191), the frontend: block is incorrectly indented as a child of the
volumes: section instead of being defined under the services: section.

Steps to Reproduce

  1. Clone the repository and navigate to the root directory.
  2. Run docker compose --profile cpu up --build
  3. See the validation error preventing Docker from starting.

Expected Behavior

Docker Compose should successfully parse the file and build/start the frontend container alongside the
backend services, without throwing volume-related validation errors.

Screenshots / Logs

WARN[0000] The "HF_TOKEN" variable is not set. Defaulting to a blank string.
validating /home/gigabyte/PDF-Assistant-RAG/docker-compose.yml: volumes.frontend additional
properties 'restart', 'build', 'container_name', 'healthcheck', 'ports', 'profiles' not allowed

Environment

OS: Arch Linux (Applies to all operating systems running Docker) , Environment: Docker Compose

GSSoC '26

  • Yes, I am participating in GirlScript Summer of Code and would like to fix this.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggssocGirlScript Summer of Code 2026 issue/PR

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions