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
登录时路由出错 #2
Comments
现在变成404了 @amuluze |
docker exec -it amporbe sh |
|
嗯嗯,使用 docker-compose 部署的时候,需要手动创建 config.toml 文件和 init.yml 文件,启动的时候会映射进去,参照 https://amprobedoc.amuluze.com/views/docker-compose.html |
nginx 和 supervisor 的配置可以不用创建和挂载 |
init.yml 中的初始化用户的配置,可以灵活更改,is_admin: 1 表示是管理员用户 |
我是使用docker创建的,没用docker compose,为什么config.toml好像没映射进去 |
到容器中看看 /app/configs 目录下看看里面有文件吗? |
哦哦,我大概知道了,我用docker compose指定docker-compose.yaml文件时,显示找不到,但是确实是有的,不知道是不是同样的原因,导致configs里面的东西没有映射成功 |
这种应该是跟 vps 有关,我没有在这种环境下部署过,不太确定 |
感谢大佬,我调试好了,感觉是data目录的问题,我换到了Home目录下就好了 |
请问一下,登录路由怎么有两个api,并显示502
The text was updated successfully, but these errors were encountered: