Actually, I don’t want to care about server ip, I want to use localhost, so this compose file can move to other hosts, run containers without edit something.
I fixed the agent environment
DRONE_SERVER=droneServer:8000
it accessed to drone server
but agent output a lots of logs… :
INFO: 2017/09/22 08:02:46 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.
INFO: 2017/09/22 08:02:47 transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF.