We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
根据 Docker-compose 一键构建安装 教程中 修改 docker-compose.yml 中的 EIP 参数
启动服务 docker-compose up -d 发现请求接口 是 x.x.x.x
请问是配置 docker-compose.yml EIP 参数还需要做些什么吗?
The text was updated successfully, but these errors were encountered:
如果首次未修改,删除映射目录下的配置文件, 然后 按二次更新操作
Sorry, something went wrong.
映射目录 指的是哪个目录?
我直接修改了docker-compose.yml 中的 EIP 参数,再 docker-compose build ,请求连接生效了,但是接口的跨域配置还是 x.x.x.x。
在前端页面域名跟接口域名不是同一个需要怎么配置?
没有找到如何修改这个跨域配置。所以进入docker容器进行修改后能够正常访问
docker exec -it thinkdoc sh # cd /app vi config/prod.yaml # 替换 'x.x.x.x' 为访问的IP # 退出容器, 重启容器 docker-composer restart
No branches or pull requests
根据 Docker-compose 一键构建安装 教程中 修改 docker-compose.yml 中的 EIP 参数
启动服务
docker-compose up -d
发现请求接口 是 x.x.x.x
请问是配置 docker-compose.yml EIP 参数还需要做些什么吗?
The text was updated successfully, but these errors were encountered: