apolloconfig / apollo-quick-start

Apollo Quick Start
692 stars 1.85k forks source link

apollo-quick-start启动报错 #61

Closed kevinw66 closed 3 years ago

kevinw66 commented 3 years ago

启动报错 Config service failed to start in 120 seconds! Please check ./service/apollo-service.log for more information.

我去对应的日志文件里看到输出是这样的 /apollo-quick-start/service # cat apollo-service_apollo-quick-startservice.log sh: -Dspring.datasource.username=root: not found sh: -Dspring.datasource.username=root: not found

docker-compose.yml内容为 version: '2.1'

networks: default: name: apollo-latest

services: apollo-quick-start: image: nobodyiam/apollo-quick-start hostname: apollo-quick-start depends_on:

kevinw66 commented 3 years ago

@nobodyiam

nobodyiam commented 3 years ago

镜像有点问题,已经重新提交了,把本地镜像清理一下,下载最新的吧

1. docker-compose rm
2. docker pull nobodyiam/apollo-quick-start:latest
3. docker-compose up
kevinw66 commented 3 years ago

可以了,感谢