diff --git a/FAQ.md b/FAQ.md new file mode 100644 index 0000000..35b57d3 --- /dev/null +++ b/FAQ.md @@ -0,0 +1,13 @@ +### 查后端实时日志(先进入docker-compose.yml所在目录) +``` +docker-compose logs --tail=10 -f flask-consul +``` +### 查前端实时日志(先进入docker-compose.yml所在目录) +``` +docker-compose logs --tail=10 -f flask-vue +``` +### 检查consul连接是否正常 +``` +进入容器,执行: +nc -vz {ip} 8500 +```