Closed zhaojun1998 closed 2 years ago
可以看一下你的 config.json
吗?
backend-config 下的配置文件:
{
"version": "3.4.0",
"address": "0.0.0.0",
"port": 8000,
"secret": "!!! CHANGE THIS !!!",
"log_file": "pasteme.log",
"database": {
"type": "mysql",
"username": "username",
"password": "password",
"server": "pasteme-mysql",
"port": 3306,
"database": "pasteme"
}
}
frontend-usr 下的配置文件:
{
"api": {
"backend": "/api/v3/",
"admin": ""
},
"footer": [
{
"url": "http://blog.lucien.ink/go/csdn",
"text": "CSDN"
},
{
"url": "https://github.com/LucienShui",
"text": "GitHub"
}
]
}
backend-config 里面,"version": "3.4.0"
改为 "version": "3.3.0"
试试。
ok,可以了
好滴,有任何问题欢迎及时反馈哈。
访问后有个 alter 弹窗,内容是 json 信息: {"message":"Request failed with status code 502","method":"get","url":"/api/v3/","params":{"method":"beat"}}
docker-compose.yml 为:
仅修改了 pasteme-frontend 中端口 80 为 9081。
启动时,未加 -d,输出的日志信息为: