mirror of https://github.com/docker/docs.git
use named volume and fix env service names
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
This commit is contained in:
parent
e891420d53
commit
3cf000a852
|
@ -5,7 +5,7 @@ notaryserver:
|
||||||
- notarymysql
|
- notarymysql
|
||||||
- notarysigner
|
- notarysigner
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_NAME="notaryserver"
|
- SERVICE_NAME=notaryserver
|
||||||
ports:
|
ports:
|
||||||
- "8080"
|
- "8080"
|
||||||
- "4443:4443"
|
- "4443:4443"
|
||||||
|
@ -17,13 +17,13 @@ notarysigner:
|
||||||
links:
|
links:
|
||||||
- notarymysql
|
- notarymysql
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_NAME="notarysigner"
|
- SERVICE_NAME=notarysigner
|
||||||
entrypoint: /bin/bash
|
entrypoint: /bin/bash
|
||||||
command: -c "./migrations/migrate.sh && notary-signer -config=fixtures/signer-config.json"
|
command: -c "./migrations/migrate.sh && notary-signer -config=fixtures/signer-config.json"
|
||||||
notarymysql:
|
notarymysql:
|
||||||
volumes:
|
volumes:
|
||||||
- ./notarymysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
- ./notarymysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||||
- ./notarymysql/data:/var/lib/mysql
|
- notarydata:/var/lib/mysql
|
||||||
image: mariadb:10.1.10
|
image: mariadb:10.1.10
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
|
|
Loading…
Reference in New Issue