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
master:
image: perforce/centos6-sdp
hostname: master
ports:
- "2167:1667"
command: /usr/sbin/sshd -D
# links:
# - c6fwd:replica1
# - c6test:test
volumes:
- ${PWD}/../../sdp:/sdp
replica1:
image: perforce/centos6-sdp
hostname: replica1
ports:
- "2266:1666"
command: /usr/sbin/sshd -D
links:
- master
# - c6test:test
volumes:
- ${PWD}/../../sdp:/sdp
test:
image: perforce/centos6-sdp
hostname: test
command: /usr/sbin/sshd -D
links:
- master
- replica1
volumes:
- ${PWD}/../../sdp:/sdp
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #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 |