Skip to content

Release candidate docker-compose bundle missing litellm-config.yaml #4651

@bobbai00

Description

@bobbai00

What happened?

The docker-compose tarball produced by .github/workflows/create-release-candidate.yml does not include bin/single-node/litellm-config.yaml, even though bin/single-node/docker-compose.yml bind-mounts it into the litellm container:

volumes:
  - ./litellm-config.yaml:/app/config.yaml:ro

When a user extracts the bundle and runs docker compose up, Docker creates an empty directory at the missing source path, which makes /app/config.yaml a directory inside the container. litellm then crashes with:

IsADirectoryError: [Errno 21] Is a directory: '/app/config.yaml'
  File ".../litellm/proxy/proxy_server.py", line 2660, in _get_config_from_file
    with open(f"{file_path}", "r") as config_file:

The "Create Docker Compose deployment bundle" step copies docker-compose.yml, nginx.conf, sql/, .env, README.md, and examples/, but never copies litellm-config.yaml.

How to reproduce?

  1. Run the Create and upload release candidate artifacts workflow.
  2. Download the resulting apache-texera-<version>-docker-compose.tar.gz.
  3. Extract and run docker compose up.
  4. The litellm service crashes with IsADirectoryError: '/app/config.yaml'.

Version

1.1.0-incubating (Pre-release/Master)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions