-
Notifications
You must be signed in to change notification settings - Fork 243
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-compose方式报错 #61
Comments
报错+1 |
什么系统?如果你在群里,可以私聊我,说一下具体报错的过程 |
系统是ubuntu 22.04 |
抱歉,是因为群满了,你现在可以加,有两个位置 |
或是你可以公開一下你的 docker-compose 沒有詳細的啟動檔案有點難幫你通靈出問題 |
我也遇到那个域名的问题了 version: "3"
services:
tbed-free:
image: hellohao/tbed-free:20230622
container_name: tbed
ports:
- "10088:10088"
- "10089:10089"
volumes:
- ./data/:/HellohaoData/
environment:
MYSQL_URL: jdbc:mysql://xxxxx.mysql.rds.aliyuncs.com/tbed?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
MYSQL_USER: xxxxx
MYSQL_PASS: xxxxx
HELLOHAO_WEB_HOST: https://tbed.xxx.top
HELLOHAO_SERVER_HOST: https://tbeds.xxxxxx.top nginx-tbed.conf
|
如果你搭建完毕后用ip+端口可以访问,但是用域名无法访问,说明是nginx反向代理配置的不对。请你排查一下。 |
不是.... 你的 https 是不是沒有帶憑證位置? 然後那個 index 好像也不用帶吧? |
我也不知道你这种情况具体出现的原因是什么。 |
docker-compose.yaml version: "3"
services:
tbed-free:
image: hellohao/tbed-free:20230622
ports:
# 服务端
- "10088:10088"
# 前端
- "10089:10089"
volumes:
- /docker/volume/tbed/HellohaoData/:/HellohaoData/
environment:
MYSQL_URL: jdbc:mysql://192.168.6.230/tbed?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
# 自定设置一个MySQL的密码,请保证与下方 POSTGRES_PASSWORD 的变量值一致
MYSQL_PASS: tbed@KckcR5r2Jk7Mah
# 前端域名(反代10089端口的域名)
HELLOHAO_WEB_HOST: https://pic.xxx.cn
# 后端域名(反代10088端口的域名)
HELLOHAO_SERVER_HOST: https://pic-api.xxx.cn nginx.pic.conf
|
|
|
|
@Hello-hao 问题解决。 |
部署后访问如图错误
应该是哪里问题呢。
The text was updated successfully, but these errors were encountered: