Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: passing options to docker run #570

Closed
amn41 opened this issue Jul 20, 2018 · 5 comments
Closed

question: passing options to docker run #570

amn41 opened this issue Jul 20, 2018 · 5 comments
Labels

Comments

@amn41
Copy link

amn41 commented Jul 20, 2018

trying to pass redoc options when running the docker image. built sucessfully, so far have tried:

-e REDOC_OPTIONS="nativeScrollbars=true"

-e REDOC_OPTIONS="options.nativeScrollbars=true"

-e REDOC_OPTIONS="{{nativeScrollbars: true}}"

-e REDOC_OPTIONS="{nativeScrollbars: true}"

@RomanHotsiy
Copy link
Member

Use kebab-cased analogs of options:

-e REDOC_OPTIONS="native-scrollbars=true"

@luisfmelo
Copy link

luisfmelo commented Mar 25, 2020

What about nested json? Like the main primary color

It would be:
-e REDOC_OPTIONS="theme.colors.primary.main=#999999?

@kaarelr
Copy link

kaarelr commented Oct 7, 2020

What about nested json? Like the main primary color

It would be:
-e REDOC_OPTIONS="theme.colors.primary.main=#999999?

This does not seem to be working for me. No colours are changed.

@aminaev-idt
Copy link

aminaev-idt commented Dec 15, 2020

What about nested json? Like the main primary color
It would be:
-e REDOC_OPTIONS="theme.colors.primary.main=#999999?

This does not seem to be working for me. No colours are changed.

@kaarelr
Did you find any solution with docker env?

@kaarelr
Copy link

kaarelr commented Dec 15, 2020

What about nested json? Like the main primary color
It would be:
-e REDOC_OPTIONS="theme.colors.primary.main=#999999?

This does not seem to be working for me. No colours are changed.

@kaarelr
Did you find any solution with docker env?

@aminaev-idt I did not.

Still waiting for someone to explain themeing support for docker set up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants