version: '2'

services:
  shield:
    image: starkandwayne/shield:edge
    command: "start starkandwayne/shield --peer database --bind database:postgresql.shield"
    links:
    - database
  database:
    image: starkandwayne/postgresql:edge
    command: "start starkandwayne/postgresql --group shield"
  tests:
    image: starkandwayne-shield-tests
    build: ./
    environment:
      SHIELD_ENDPOINT: shield
      PGHOST: database
      PGUSER: admin
      PGPASSWORD: admin
    links:
    - shield
    - database

version: '2'

services:
  shield:
    image: starkandwayne/shield:edge
    command: "start starkandwayne/shield --peer database --bind database:postgresql.shield"
    links:
    - database
  agent:
    image: starkandwayne/shield-agent:edge
    command: "start starkandwayne/shield-agent --peer shield --bind daemon:shield.default"
    links:
    - shield
  database:
    image: starkandwayne/postgresql:edge
    command: "start starkandwayne/postgresql --group shield"
  tests:
    image: starkandwayne-shield-tests
    build: ./
    environment:
      SHIELD_ENDPOINT: shield
      PGHOST: database
      PGUSER: admin
      PGPASSWORD: admin
    links:
    - shield
    - database

Add agent to shield tests compose file
Add agent to shield tests compose file
