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

docker build 构建本地镜像运行具体如何操作 #11

Closed
szsyzx opened this issue Apr 3, 2021 · 3 comments
Closed

docker build 构建本地镜像运行具体如何操作 #11

szsyzx opened this issue Apr 3, 2021 · 3 comments

Comments

@szsyzx
Copy link

szsyzx commented Apr 3, 2021

clone项目到本地,修改 public/index.html,执行 docker build 构建本地镜像运行。

执行 docker build 构建本地镜像运行。

具体需要怎么做

@CareyWang
Copy link
Owner

@szsyzx 修改html后,修改.env,docker-compose up -d

@szsyzx
Copy link
Author

szsyzx commented Apr 5, 2021

@CareyWang /root/MyUrls/下的.env以及/root/MyUrls/public/index.html里的地址都改掉了 为什么打开还是显示:短链接获取失败

F12下查看显示:spread.js:25 Mixed Content: The page at 'https://sxvip.tk/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://example.com/short'. This request has been blocked; the content must be served over HTTPS.

@CareyWang
Copy link
Owner

需要修改 index.html 中 backend

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