Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

[Chore]: define dashboard api base url using docker env #1229

Description

@peppescg

Description

In order to allow the users to specify the dashboard base api url (by default it is http://localhost:8989) we can add a docker env DASHBOARD_API_BASE_URL that the users can use to set dashboard api base url in the UI.
Rather than using sed for replace the env var in the js file, we can use envsubst through the index.html that includes the env var used in the UI for handle the API requests.

Additional Context

Discord thread

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions