Skip to content
This repository has been archived by the owner on Apr 26, 2019. It is now read-only.

docker agent doesn't connect with docker compose? #40

Closed
Data-drone opened this issue Sep 4, 2017 · 2 comments
Closed

docker agent doesn't connect with docker compose? #40

Data-drone opened this issue Sep 4, 2017 · 2 comments

Comments

@Data-drone
Copy link

I am using the alpine agent and connecting by using ansible to trigger the compose script to deploy to docker swarm:

version: '3'

services:

    go_agent:
      image: gocd/gocd-agent-alpine-3.5:v17.8.0
      volumes:
        - /var/run/docker.sock:/var/run/docker.sock
      environment:
        - GO_SERVER_URL=https://http://10.240.226.19:8154/go

This is not connecting to the Go server?
However running the agent locally works?

docker run -d -e GO_SERVER_URL=https://10.240.226.19:8154/go gocd/gocd-agent-alpine-3.5:v17.8.0

Thanks

@ketan
Copy link
Member

ketan commented Sep 4, 2017

Seems like a bad URL to me. https://http://...? I'm closing this ticket out, but if you still can't bring up the instance let me know and I can reopen the ticket.

@ketan ketan closed this as completed Sep 4, 2017
@Data-drone
Copy link
Author

ugh typo... I am having a bad day

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants