version: "2" # Note that the images depended on here can be built using build_docker_image.sh services: master: image: perforce/centos6-sdp hostname: master ports: - "2167:1667" command: /usr/sbin/sshd -D volumes: - ${PWD}/../../sdp:/sdp replica_ha: image: perforce/centos6-sdp hostname: replica_ha ports: - "2266:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_fr: image: perforce/centos6-sdp hostname: replica_fr ports: - "2366:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_edge: image: perforce/centos6-sdp hostname: replica_edge ports: - "2466:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica1: image: perforce/centos6-sdp hostname: replica1 ports: - "2566:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp test: image: perforce/centos6-sdp hostname: test command: /usr/sbin/sshd -D links: - master - replica_ha volumes: - ${PWD}/../../sdp:/sdp