mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
32 lines
793 B
YAML
32 lines
793 B
YAML
notaryserver:
|
|
build: .
|
|
dockerfile: server.Dockerfile
|
|
links:
|
|
- notarymysql
|
|
- notarysigner
|
|
environment:
|
|
- SERVICE_NAME=notaryserver
|
|
ports:
|
|
- "8080"
|
|
- "4443:4443"
|
|
entrypoint: /bin/bash
|
|
command: -c "./migrations/migrate.sh && notary-server -config=fixtures/server-config.json"
|
|
notarysigner:
|
|
build: .
|
|
dockerfile: signer.Dockerfile
|
|
links:
|
|
- notarymysql
|
|
environment:
|
|
- SERVICE_NAME=notarysigner
|
|
entrypoint: /bin/bash
|
|
command: -c "./migrations/migrate.sh && notary-signer -config=fixtures/signer-config.json"
|
|
notarymysql:
|
|
volumes:
|
|
- ./notarymysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
- notarydata:/var/lib/mysql
|
|
image: mariadb:10.1.10
|
|
ports:
|
|
- "3306:3306"
|
|
environment:
|
|
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
|