【发布时间】:2017-10-03 14:22:50
【问题描述】:
我在同一个实例上运行 Drone Server 和 Drone Agent,我正在尝试连接实例的私有 IP。
如果我用端口卷曲 ip,我会得到一个正确的 html 页面。 但是在 Drone Agent 日志中,我不断得到这个
drone-agent_1 | INFO: 2017/10/03 14:02:37 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
由于它在同一个实例上,它应该可以工作,并且还应该为 grpc 配置无人机服务器。 2 Docker compose文件,一个用于代理,一个用于服务器
version: '2'
services:
drone-agent:
image: drone/agent:0.8
command: agent
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_SERVER=172.30.1.169:9456
- DRONE_SECRET=secret
Docker 编写服务器
版本:'2'
services:
drone-server:
image: drone/drone:0.8
ports:
- 9456:8000
- 8502:9000
volumes:
- /var/lib/drone:/var/lib/drone/
restart: always
environment:
- DRONE_OPEN=false
- DRONE_HOST=https://subdomain.somehost.com:9876/
- DRONE_BITBUCKET=true
- DRONE_BITBUCKET_CLIENT=secretc
- DRONE_BITBUCKET_SECRET=secretb
- DRONE_SECRET=secret
- DRONE_ADMIN=user1
【问题讨论】:
-
请提供
DRONE_SERVER=server:port的真实值,以便我们确认您配置了正确的地址和端口。此外,还不清楚您是使用一个 docker compose 文件,还是两个单独的 compose 文件。 -
更新了描述。我正在使用两个不同的撰写文件。 Drone 服务器具有 AWS 实例的私有 IP 地址。 @BradRydzewski
标签: drone.io