You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.0 KiB
YAML
50 lines
1.0 KiB
YAML
6 years ago
|
version: "2"
|
||
|
services:
|
||
|
server:
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: server.Dockerfile
|
||
|
networks:
|
||
|
- mdb
|
||
|
- sig
|
||
|
ports:
|
||
|
- "8080"
|
||
|
- "4443:4443"
|
||
|
entrypoint: /usr/bin/env sh
|
||
|
command: -c "./migrations/migrate.sh && notary-server -config=fixtures/server-config.json"
|
||
|
depends_on:
|
||
|
- mysql
|
||
|
- signer
|
||
|
signer:
|
||
|
build:
|
||
|
context: .
|
||
|
dockerfile: signer.Dockerfile
|
||
|
networks:
|
||
|
mdb:
|
||
|
sig:
|
||
|
aliases:
|
||
|
- notarysigner
|
||
|
entrypoint: /usr/bin/env sh
|
||
|
command: -c "./migrations/migrate.sh && notary-signer -config=fixtures/signer-config.json"
|
||
|
depends_on:
|
||
|
- mysql
|
||
|
mysql:
|
||
|
networks:
|
||
|
- mdb
|
||
|
volumes:
|
||
|
- ./notarysql/mysql-initdb.d:/docker-entrypoint-initdb.d
|
||
|
- notary_data:/var/lib/mysql
|
||
|
image: mariadb:10.1.28
|
||
|
environment:
|
||
|
- TERM=dumb
|
||
|
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
|
||
|
command: mysqld --innodb_file_per_table
|
||
|
volumes:
|
||
|
notary_data:
|
||
|
external: false
|
||
|
networks:
|
||
|
mdb:
|
||
|
external: false
|
||
|
sig:
|
||
|
external: false
|