Skip to content

Configuration issue when deploying to Azure App Service #841

@tioans

Description

@tioans

Describe the bug
When deploying the application to Azure App Service, chainlit (1.0.401) loses all configuration options set in '.chainlit/config.toml' and doesn't load my custom css/icons under '/public' (defaults to standard options). However, when running the application locally, it works as expected and retains all configuration options.

To Reproduce
Steps to reproduce the behavior:

  1. Set up the application with desired configuration options in '.chainlit/config.toml' and custom css/icons under /public.
  2. Deploy the application to Azure App Service.
  3. Access the deployed application.
  4. Notice that the configuration options previously set are not reflected in the deployed application.

Expected behavior
The deployed application on Azure App Service should retain and reflect all configuration options set in the config files.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Edge, Firefox
  • Version: 122, 124

Additional context
This issue only occurs when the application is deployed to Azure App Service. When running the application locally, it works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions