Giter Club home page Giter Club logo

Comments (2)

QAbot-zh avatar QAbot-zh commented on May 24, 2024

docker 的网络地址和宿主机的是分开的,docker 命令加上--network=host 再运行看看

from one-api.

lk1983823 avatar lk1983823 commented on May 24, 2024

@QAbot-zh 加上这个条件以后 13000端口就关闭了,

WARNING: Published ports are discarded when using host network mode
8b933112d16a28e0ba86a788931adbdb4c8fc40ea4302a823a78219f108ad2c8

我之前有这个参数, -p 13000:3000
这样,我都进不去页面, 无法配置渠道了,我原来都是通过 0.0.0.0:13000在one-api里配置渠道什么的。
如何保留这个13000:3000的映射呢? 另外,我的127.0.0.1:3000 已经被一个fastgpt的进程占用了

from one-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.