Giter Site home page Giter Site logo

Comments (3)

glime-ai avatar glime-ai commented on September 27, 2024

To change the base URL for the HTTP Endpoint activity in Elsa Studio, you would typically need to adjust the configuration settings that the Elsa services use when they start up. Here's how you can do it for both Docker and Elsa Studio Blazor Server:

  1. Docker:
    When running Elsa with Docker, you can pass environment variables to the container to configure the base URL. For example, if you want to set the base URL to http://localhost:13000/api/workflows, you can pass the ELSA__SERVER__BASEURL environment variable when you start the container:

    docker run -t -i -e ELSA__SERVER__BASEURL=http://localhost:13000/api/workflows -p 13000:80 elsaworkflows/elsa-server-v3:latest

    Make sure to replace elsaworkflows/elsa-server-v3:latest with the appropriate Docker image tag for your setup.

  2. Elsa Studio Blazor Server:
    For an Elsa Studio Blazor Server application, you would typically set the base URL in the appsettings.json file or through environment variables in your hosting environment. If you're running the application locally, you can modify the appsettings.json file to include the base URL:

    {
      "Elsa": {
        "Server": {
          "BaseUrl": "http://localhost/workflows"
        }
      }
    }

    If you're setting it through environment variables, you can set ELSA__SERVER__BASEURL to the desired value.

Please note that the exact variable names and configuration methods may vary depending on the version of Elsa you are using and how your application is set up. If you are using a version of Elsa that does not recognize these environment variables or configuration settings, you may need to refer to the specific documentation for your version or seek support from the Elsa community.

Also, the screenshot URL you provided seems to be incorrect or incomplete, as it does not lead to an actual image. If you need further assistance with a specific part of the Elsa Studio interface, please provide a valid URL or a more detailed description of the issue.

from elsa-core.

sagegz avatar sagegz commented on September 27, 2024

Thanks to AI.But I can't get the right answer after setting appsettings.json in situation 2.
{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "AllowedHosts": "*", "Backend": { "Url": "https://localhost:5001/elsa/api" }, "Elsa": { "Server": { "BaseUrl": "http://localhost:5001/workflows" } } }
It doesn't change anything. It's still http://localhost/workflows
HttpEndpoint

from elsa-core.

sagegz avatar sagegz commented on September 27, 2024

@sfmskywalker Can you give me some advice?

from elsa-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.