version: "2" # Note that the images depended on here can be built using build_docker_image.sh services: # Testing image # c6test: # image: centos6-base # links: # - c6master # - c6fwd # command: sleep infinity # volumes: # - ${PWD}/../../sdp:/sdp c6master: image: perforce/centos6-sdp hostname: master ports: - "2167:1667" command: /usr/sbin/sshd -D # links: # - c6fwd:replica1 # - c6test:test volumes: - ${PWD}/../../sdp:/sdp c6fwd: image: perforce/centos6-sdp hostname: replica1 ports: - "2266:1666" command: sleep infinity links: - c6master:master # - c6test:test volumes: - ${PWD}/../../sdp:/sdp c6bos01: image: perforce/centos6-sdp hostname: bos01 ports: - "2268:1666" command: sleep infinity links: - c6master:master # - c6test:test volumes: - ${PWD}/../../sdp:/sdp c6test: image: perforce/centos6-sdp hostname: test command: sleep infinity links: - c6master:master - c6fwd:replica1 volumes: - ${PWD}/../../sdp:/sdp