Hello,
im following the older video tutorial and updating all configs to be in sync with version 1.0.
when starting the server and agent using “docker-compose up” im not able to view the webpage "http://<GCE_vm_external_ip> . and im also getting the following message in the logs:
drone-agent_1_4a085455bc46 |
{“arch”:“amd64”,“error”:"",“level”:“warning”,“machine”:“202dc95b70f0”,“msg”:“runner: cannot get queue item”,“os”:“linux”,“time”:“2019-04-18T12:25:42Z”}
drone-agent_1_407d6207aad3 | 2019/04/18 13:36:53 [DEBUG] POST http://drone-server/rpc/v1/request
here is how i created my OAuth consumer, note that the areas covered in black have the external IP of the GCE vm instance.
and here is my docker-compose.yml :
version: ‘3.1’
services:
drone-server:
image: drone/drone:1
ports:
- 8081:80
- 9000:9000
volumes:
- ./:/data
- /var/lib/drone:/var/lib/drone/
restart: always
environment:
- DRONE_SERVER_HOST=(GCE vm External IP)
- DRONE_SERVER_PROTO=http
- DRONE_TLS_AUTOCERT=false
- DRONE_BITBUCKET_CLIENT_ID=(copied from Bitbucket Oauth)
- DRONE_BITBUCKET_CLIENT_SECRET=(copied from Bitbucket Oauth)
- DRONE_LOGS_PRETTY=true
- DRONE_LOGS_COLOR=truedrone-agent:
image: drone/agent:1
restart: always
depends_on:
- drone-server
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DRONE_RPC_SERVER=http://drone-server
- DRONE_SERVER=drone-server:9000
Any ideas what could be going wrong ? Thanks!