Hello everyone.
I would really appreciate some help getting Drone running correctly.
I am using docker compose inside a GCP compute instance, but whenever I start drone & agent I get an endless stream of the following.
Please advise
drone-agent_1 | 2019/10/17 06:54:40 [ERR] POST http:// < IP >:8000/rpc/v1/request request failed: Post http:// < IP > :8000/rpc/v1/request: context deadline exceeded
drone-agent_1 | {"arch":"amd64","level":"debug","machine":"f0d6c7aa5bc9","msg":"runner: polling queue","os":"linux","time":"2019-10-17T06:54:40Z"}
drone-agent_1 | 2019/10/17 06:54:40 [DEBUG] POST http:// < IP > :8000/rpc/v1/request
Here is my config:
version: '3'
services:
drone-server:
image: drone/drone:1.2.1
restart: always
volumes:
- /var/lib/drone:/var/lib/drone/
ports:
- 8000:80
- 9000:443
environment:
- DRONE_SERVER_HOST=<IP>:8000
- DRONE_SERVER_PROTO=http
- DRONE_GITHUB_SERVER=https://github.com
- DRONE_RPC_SECRET=xxxx
- DRONE_AGENTS_ENABLED=true
- DRONE_AUTOCERT=false
- DRONE_OPEN=false
- DRONE_ADMIN=jadechip
- DRONE_PROVIDER="github"
- DRONE_GITHUB=true
- DRONE_GITHUB_CLIENT_ID=xxxx
- DRONE_GITHUB_CLIENT_SECRET=xxxx
drone-agent:
image: drone/agent:1.2.1
command: agent
restart: always
depends_on:
- drone-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_LOGS_DEBUG=true
- DRONE_LOGS_TRACE=true
- DRONE_RPC_SERVER=http://<IP>:8000
- DRONE_RPC_SECRET=xxxx
Thank you very much for your time!