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_ham: image: perforce/centos6-sdp hostname: replica_ham ports: - "2267:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_fr: image: perforce/centos6-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/centos6-sdp hostname: replica_edge ports: - "2466:1666" command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_ro: image: perforce/centos6-sdp hostname: replica_ro command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_rom: image: perforce/centos6-sdp hostname: replica_rom command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_fs: image: perforce/centos6-sdp hostname: replica_fs command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_frm: image: perforce/centos6-sdp hostname: replica_frm command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_fsm: image: perforce/centos6-sdp hostname: replica_fsm command: /usr/sbin/sshd -D links: - master volumes: - ${PWD}/../../sdp:/sdp replica_ffr: image: perforce/centos6-sdp hostname: replica_ffr 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
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 27246 | Jessie Fernandez | Branch for Jessie Fernandez | ||
//guest/perforce_software/sdp/dev/test/docker-compose.yml | |||||
#4 | 25575 | Robert Cowham |
Updates to SDP and tests for 19.1 upgrades #review @tom_tyler |
||
#3 | 25565 | Robert Cowham |
For docker-compose the following now work: replica_ha, replica_ham, replica_fr, replica_edge |
||
#2 | 25562 | Robert Cowham | Docker compose file for multi system tests | ||
#1 | 25258 | Robert Cowham |
Rework the containers in preparation for multi container testing mkrep changes: Remove -c cfg option which was unused anyway Converted tabs to spaces Fixed logic error causing forwarding replicas to bail due to unsupported p4d version Standby servers require ReplicatingFrom field Add seconds to log file name (useful for testing to avoid overwriting files) |
||
//guest/robert_cowham/perforce/sdp/test/docker-compose.yml | |||||
#8 | 25116 | Robert Cowham | Docker compose tests starting to get there... | ||
#7 | 25113 | Robert Cowham | Merge latest changes from dev | ||
#6 | 23433 | Robert Cowham | Got it working with basic ssh stuff if sshd run manually on a box | ||
#5 | 22509 | Robert Cowham | Basics of getting ssh working amongst the containers | ||
#4 | 22487 | Robert Cowham | Docker compose file - getting there slowly | ||
#3 | 20828 | Robert Cowham | Use docker-compose | ||
#2 | 20815 | Robert Cowham | Simplified so "docker-compose up" starts test instance. | ||
#1 | 20813 | Robert Cowham | Using docker-compose |