Configuração exemplo de Stack GOCD
version: "3.2"
services:
server:
image: gocd/gocd-server:v18.1.0
ports:
- "8153:8153"
- "8154:8154"
restart: on-failure
volumes:
- type: volume
source: gocddata
target: /godata
haskell-agent:
image: miguelmf/gocd-agent-haskell:v1.0.0
restart: on-failure
environment:
GO_SERVER_URL: https://server:8154/go
AGENT_AUTO_REGISTER_RESOURCES: stack,haskell
AGENT_AUTO_REGISTER_KEY: 16e64e9e-fe28-4c7c-96a9-1a38b6c65901
depends_on:
- server
links:
- server
volumes:
gocddata: