harbor/make/docker-compose.notary.tpl

76 lines
1.7 KiB
Smarty
Raw Normal View History

2017-02-20 11:40:05 +01:00
version: '2'
services:
ui:
networks:
- harbor-notary
proxy:
networks:
- harbor-notary
notary-server:
2017-12-09 19:53:12 +01:00
image: vmware/notary-server-photon:__notary_version__
2017-02-20 11:40:05 +01:00
container_name: notary-server
restart: always
2017-02-20 11:40:05 +01:00
networks:
- notary-mdb
- notary-sig
- harbor-notary
volumes:
2018-01-30 07:25:43 +01:00
- ./common/config/notary:/config:z
2017-02-20 11:40:05 +01:00
depends_on:
- notary-db
- notary-signer
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-12-09 19:53:12 +01:00
image: vmware/notary-signer-photon:__notary_version__
2017-02-20 11:40:05 +01:00
container_name: notary-signer
restart: always
2017-02-20 11:40:05 +01:00
networks:
notary-mdb:
notary-sig:
aliases:
- notarysigner
volumes:
2018-01-30 07:25:43 +01:00
- ./common/config/notary:/config:z
2017-02-20 11:40:05 +01:00
env_file:
- ./common/config/notary/signer_env
depends_on:
- notary-db
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-12-09 19:53:12 +01:00
image: vmware/mariadb-photon:__mariadb_version__
2017-02-20 11:40:05 +01:00
container_name: notary-db
restart: always
2017-02-20 11:40:05 +01:00
networks:
notary-mdb:
aliases:
- mysql
volumes:
2018-01-30 07:25:43 +01:00
- ./common/config/notary/mysql-initdb.d:/docker-entrypoint-initdb.d:z
- /data/notary-db:/var/lib/mysql:z
2017-02-20 11:40:05 +01:00
environment:
- TERM=dumb
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
command: mysqld --innodb_file_per_table
depends_on:
- log
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