Skip to content

How to set host name? #30

@rsoika

Description

@rsoika

I am running the openapi-ext in Payara-micro on Docker.
This works fine, but the server box shows only the internal docker host name:

image

How can I overwrite or add the external hostname (e.g. localhost)
I read that it is possible to configure swagger ui with the microprofile config api, but I did not found an example how the config parameter have to look like.

I tried something like this in my docker-compose file:

  training-service:
    image: imixs/imixs-ml-training-service
    environment:
      OPENAPI-UI_COPYRIGHTBY: "Ralph"

But it did not work. Also I found no information how the server configuration variable should be named.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions