安装重新安装目录时出现错误。首先,我下载组件:
Steins-MacBook-Air:ATM steinkorsveien$ curl https://raw.githubusercontent.com/reportportal/reportportal/master/docker-compose.yml -o docker-compose.yml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6907 100 6907 0 0 12512 0 --:--:-- --:--:-- --:--:-- 12581
Steins-MacBook-Air:ATM steinkorsveien$ docker-compose up
Creating network "atm_default" with the default driver
Creating atm_ui_1 ... done
Creating atm_gateway_1 ... done
Creating atm_uat_1 ... done
Creating atm_postgres_1 ... done
Creating atm_minio_1 ... done
Creating atm_elasticsearch_1 ... done
Creating atm_rabbitmq_1 ... done
Creating atm_analyzer_1 ... done
Creating atm_index_1 ... done
Creating atm_db-scripts_1 ... done
ERROR: for api Container "46cb34fca7b4" is unhealthy.
ERROR: Encountered errors while bringing up the project.
如何解决此错误?
答案 0 :(得分:0)
请通过运行以下命令共享日志:
docker logs 46cb34fca7b4
或docker logs atm_api_1
答案 1 :(得分:0)
在您的docker compose yml文件中,包括以下内容
暴露:
-“ 8080”