Files
docker-docs/docker-compose.yml
Ying Li 56e8d864ce Add some standalone (does not require MySQL) configuration files for
server and signer, and set these to be the default configuration
files when running the images.

Compose specifies the configuration with MySQL.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-11-30 14:14:16 -08:00

26 lines
535 B
YAML

notaryserver:
build: .
dockerfile: Dockerfile.server
links:
- notarymysql
- notarysigner
ports:
- "8080"
- "4443:4443"
environment:
- SERVICE_NAME=notary
command: -config=fixtures/server-config.json
notarysigner:
volumes:
- /dev/bus/usb/003/010:/dev/bus/usb/002/010
- /var/run/pcscd/pcscd.comm:/var/run/pcscd/pcscd.comm
build: .
dockerfile: Dockerfile.signer
links:
- notarymysql
command: -config=fixtures/signer-config.json
notarymysql:
build: ./notarymysql/
ports:
- "3306:3306"