version: "2" # Note that the images depended on here can be built using build_docker_image.sh services: master: image: perforce/centos7-sdp hostname: master ports: - "2167:1667" command: /usr/sbin/sshd -D volumes: - ${PWD}/../../sdp:/sdp replica_ha: image: perforce/centos7-sdp hostname: replica_ha ports: - "2266:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_ham: image: perforce/centos7-sdp hostname: replica_ham ports: - "2267:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_fr: image: perforce/centos7-sdp hostname: replica_fr security_opt: - seccomp:unconfined cap_add: - SYS_PTRACE ports: - "2366:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_edge: image: perforce/centos7-sdp hostname: replica_edge ports: - "2466:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_ro: image: perforce/centos7-sdp hostname: replica_ro command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_rom: image: perforce/centos7-sdp hostname: replica_rom command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_fs: image: perforce/centos7-sdp hostname: replica_fs command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_frm: image: perforce/centos7-sdp hostname: replica_frm command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_fsm: image: perforce/centos7-sdp hostname: replica_fsm command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_ffr: image: perforce/centos7-sdp hostname: replica_ffr command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica1: image: perforce/centos7-sdp hostname: replica1 ports: - "2566:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp test: image: perforce/centos7-sdp hostname: test command: /usr/sbin/sshd -D links: - master - replica_ha volumes: - ${PWD}/../../sdp:/sdp