mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
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>
26 lines
535 B
YAML
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"
|