Redoc: question: passing options to docker run

Created on 20 Jul 2018  路  5Comments  路  Source: Redocly/redoc

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}"

question

Most helpful comment

Use kebab-cased analogs of options:

-e REDOC_OPTIONS="native-scrollbars=true"

All 5 comments

Use kebab-cased analogs of options:

-e REDOC_OPTIONS="native-scrollbars=true"

What about nested json? Like the main primary color

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

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.

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?

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

skllcrn picture skllcrn  路  3Comments

zmes50416 picture zmes50416  路  3Comments

jaroslawr picture jaroslawr  路  3Comments

ahshum picture ahshum  路  3Comments

vietnguyen010 picture vietnguyen010  路  3Comments