version: "2"
services:
# centos7-base:
# build:
# dockerfile: Dockerfile.centos7.base
# context: ./docker
# centos7-sdp:
# build:
# dockerfile: Dockerfile.centos7.sdp
# context: ./docker
c7master:
image: centos7-sdp
command: sleep infinity
volumes:
- /Users/rcowham/vagrant/sdptest/sdp:/sdp
c7fwd:
image: centos7-sdp
links:
- c7master
command: sleep infinity
volumes:
- /Users/rcowham/vagrant/sdptest/sdp:/sdp
c7test:
image: centos7-base
links:
- c7master
- c7fwd
command: sleep infinity
volumes:
- /Users/rcowham/vagrant/sdptest/sdp:/sdp
# sdpreplica:
# image: perforce/centos7-base
# command: sleep infinity
# volumes:
# - /Users/rcowham/vagrant/sdptest/sdp:/sdp
# Add your containers here, specifying the base image you want to build from
# For example:
#
# web:
# image: ubuntu:trusty
# ports:
# - "80:80"
# command: ['/usr/bin/dumb-init', '/usr/sbin/apache2ctl', '-D', 'FOREGROUND']
# dev_overrides:
# environment:
# - "DEBUG=1"
#
# registries: {}
# Add optional registries used for deployment. For example:
# google:
# url: https://gcr.io
# namespace: my-cool-project-xxxxxx