Skip to content

global_theme as environment variable via docker-compose.yaml #839

Open
@mkne

Description

Is your feature request related to a problem? Please describe.
I would love to set a default theme (for example "united") for new users other than the default bootstrap theme ("") via global_theme.
However it looks like there is no GLOBAL_THEME variable defined in the parameter.yaml/docker-compose.yaml?

Describe the solution you'd like
Enable setting a GLOBAL_THEME variable in docker-compose.yaml to one of the values from partdb.available_themes

Describe alternatives you've considered
Changing the default theme via the config/parameters.yaml file is not very useful when using docker compose, as it might/will be lost when updating the container. Also the documentation says: "You should expect, that you will have to do some manual merge, when you have changed something here and update to a newer version of Part-DB."

I haven't found any discussion or issue regarding this topic. I would also consider this very low priority. But it seems easy to implement.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions