2017-02-20 11:40:05 +01:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
ui:
|
|
|
|
networks:
|
|
|
|
- harbor-notary
|
|
|
|
proxy:
|
|
|
|
networks:
|
|
|
|
- harbor-notary
|
|
|
|
notary-server:
|
2017-03-21 11:46:10 +01:00
|
|
|
image: vmware/notary-photon:server-0.5.0
|
2017-02-20 11:40:05 +01:00
|
|
|
container_name: notary-server
|
2017-04-27 11:07:38 +02:00
|
|
|
restart: always
|
2017-02-20 11:40:05 +01:00
|
|
|
networks:
|
|
|
|
- notary-mdb
|
|
|
|
- notary-sig
|
|
|
|
- harbor-notary
|
|
|
|
volumes:
|
|
|
|
- ./common/config/notary:/config
|
|
|
|
entrypoint: /usr/bin/env sh
|
2017-03-21 11:46:10 +01:00
|
|
|
command: -c "/migrations/migrate.sh && notary-server -config=/config/server-config.json -logf=logfmt"
|
2017-02-20 11:40:05 +01:00
|
|
|
depends_on:
|
|
|
|
- notary-db
|
|
|
|
- notary-signer
|
2017-03-08 10:24:32 +01:00
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
|
|
|
options:
|
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "notary-server"
|
2017-02-20 11:40:05 +01:00
|
|
|
notary-signer:
|
2017-03-21 11:46:10 +01:00
|
|
|
image: vmware/notary-photon:signer-0.5.0
|
2017-02-20 11:40:05 +01:00
|
|
|
container_name: notary-signer
|
2017-04-27 11:07:38 +02:00
|
|
|
restart: always
|
2017-02-20 11:40:05 +01:00
|
|
|
networks:
|
|
|
|
notary-mdb:
|
|
|
|
notary-sig:
|
|
|
|
aliases:
|
|
|
|
- notarysigner
|
|
|
|
volumes:
|
|
|
|
- ./common/config/notary:/config
|
|
|
|
env_file:
|
|
|
|
- ./common/config/notary/signer_env
|
|
|
|
entrypoint: /usr/bin/env sh
|
2017-03-21 11:46:10 +01:00
|
|
|
command: -c "/migrations/migrate.sh && notary-signer -config=/config/signer-config.json -logf=logfmt"
|
2017-02-20 11:40:05 +01:00
|
|
|
depends_on:
|
|
|
|
- notary-db
|
2017-03-08 10:24:32 +01:00
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
|
|
|
options:
|
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "notary-signer"
|
2017-02-20 11:40:05 +01:00
|
|
|
notary-db:
|
2017-10-19 17:21:41 +02:00
|
|
|
image: vmware/mariadb-photon:10.2.8
|
2017-02-20 11:40:05 +01:00
|
|
|
container_name: notary-db
|
2017-04-27 11:07:38 +02:00
|
|
|
restart: always
|
2017-02-20 11:40:05 +01:00
|
|
|
networks:
|
|
|
|
notary-mdb:
|
|
|
|
aliases:
|
|
|
|
- mysql
|
|
|
|
volumes:
|
|
|
|
- ./common/config/notary/mysql-initdb.d:/docker-entrypoint-initdb.d
|
|
|
|
- /data/notary-db:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
- TERM=dumb
|
|
|
|
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
|
|
|
|
command: mysqld --innodb_file_per_table
|
2017-03-23 14:00:53 +01:00
|
|
|
depends_on:
|
|
|
|
- log
|
2017-03-08 10:24:32 +01:00
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
|
|
|
options:
|
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "notary-db"
|
2017-02-20 11:40:05 +01:00
|
|
|
networks:
|
|
|
|
harbor-notary:
|
|
|
|
external: false
|
|
|
|
notary-mdb:
|
|
|
|
external: false
|
|
|
|
notary-sig:
|
|
|
|
external: false
|