version: '2'

services:
  shield:
    image: starkandwayne/shield:edge
    command: "start starkandwayne/shield --bind postgresql.shield"
  database:
    image: starkandwayne/postgresql:edge
    command: "start starkandwayne/postgresql --group shield"
  tests:
    image: starkandwayne-shield-tests
    build: ./
    links:
    - shield

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: ./
    links:
    - shield

Fix command in shield tests
Fix command in shield tests
