Skip to content

Docker部署testhub时,怎么样让前端接口起在指定IP上 #6

Description

@sunpian1

docker run -d -p 12003:12003 -p 11018:11018 vinc02131/testhub:1.0.4

前端接口地址 http://127.0.0.1:11018/

后端接口文档 http://127.0.0.1:12003/swagger-ui/index.html#/

怎么样让前端接口地址不是127.0.0.1,而是指定IP?

Activity

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

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