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

dokcer运行成功后访问页面报错500 #102

Open
skr-rks opened this issue Jan 6, 2021 · 5 comments
Open

dokcer运行成功后访问页面报错500 #102

skr-rks opened this issue Jan 6, 2021 · 5 comments

Comments

@skr-rks
Copy link

skr-rks commented Jan 6, 2021

F12查看发现接口/api/user/报502错误。
部署前未修改邮箱信息及密码信息
image

@f4cknet
Copy link

f4cknet commented Apr 7, 2021

有大佬解决吗?

@LiuKarleung
Copy link

有大佬解决吗?

你差了一步,需要在运行前执行“cp -p .env.docker .env”

@baihuhao2007
Copy link

有大佬解决吗?

你差了一步,需要在运行前执行“cp -p .env.docker .env”

您好,请问这一步是在docker-compose up -d 需要在命令之前执行吗

@pengchengxue
Copy link

pengchengxue commented Mar 1, 2022

有大佬解决吗?

你差了一步,需要在运行前执行“cp -p .env.docker .env”

您好,请问这一步是在docker-compose up -d 需要在命令之前执行吗

我操作没有错,访问还是500,有解决的吗?感觉后台的api 没有起成功

@wwwderl
Copy link

wwwderl commented Apr 14, 2022

cp -p .env.docker .env

可以的,如果打开服务之后可以关闭服务执行命令,再打开docker容器就可以了

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

6 participants