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

如何run出接口? #22

Open
oscarklv opened this issue Apr 22, 2023 · 1 comment
Open

如何run出接口? #22

oscarklv opened this issue Apr 22, 2023 · 1 comment

Comments

@oscarklv
Copy link

oscarklv commented Apr 22, 2023

用docker-compose资料夹的方式进行启动(docker-compose up -d),docker desktop 试过,找不到可以run出接口的地方,然后到网页输入 http://localhost:3000
接口可进但打字输出都是error。

@zhpd
Copy link
Owner

zhpd commented Apr 25, 2023

用docker-compose资料夹的方式进行启动(docker-compose up -d),docker desktop 试过,找不到可以run出接口的地方,然后到网页输入 http://localhost:3000 接口可进但打字输出都是error。

docker-compose up运行,默认端口是80,里面内置了nginx,并且端口做了映射,直接http://localhost直接访问就行

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

2 participants