mirror of https://github.com/docker/docs.git
28 lines
579 B
YAML
28 lines
579 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:
|
|
volumes:
|
|
- notarymysql:/var/lib/mysql
|
|
build: ./notarymysql/
|
|
ports:
|
|
- "3306:3306"
|