Skip to content
New issue

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

关于容器间通信的疑惑 #58

Open
JYThomas opened this issue Sep 1, 2023 · 0 comments
Open

关于容器间通信的疑惑 #58

JYThomas opened this issue Sep 1, 2023 · 0 comments

Comments

@JYThomas
Copy link

JYThomas commented Sep 1, 2023

你好,最近我在学docker-compose部署一个前后端分离的项目 但是使用compose的方式该怎样实现前端对后端接口的请求呢?比如说前端在开发的时候肯定是写好后端的请求ip地址,但是在容器中 前端打包的时候后端的接口地址ip该怎么设置才能使得web容器启动之后能够正常访问到后端的接口地址呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant