harbor/make/docker-compose.notary.tpl

59 lines
1.3 KiB
Smarty
Raw Normal View History

2017-02-20 11:40:05 +01:00
version: '2'
services:
core:
2017-02-20 11:40:05 +01:00
networks:
- harbor-notary
proxy:
networks:
- harbor-notary
postgresql:
networks:
harbor-notary:
aliases:
- harbor-db
2017-02-20 11:40:05 +01:00
notary-server:
image: goharbor/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-sig
- harbor-notary
dns_search: .
2017-02-20 11:40:05 +01:00
volumes:
- ./common/config/notary:/etc/notary:z
env_file:
- ./common/config/notary/server_env
2017-02-20 11:40:05 +01:00
depends_on:
- postgresql
2017-02-20 11:40:05 +01:00
- 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:
image: goharbor/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:
harbor-notary:
2017-02-20 11:40:05 +01:00
notary-sig:
aliases:
- notarysigner
dns_search: .
2017-02-20 11:40:05 +01:00
volumes:
- ./common/config/notary:/etc/notary:z
2017-02-20 11:40:05 +01:00
env_file:
- ./common/config/notary/signer_env
depends_on:
- postgresql
logging:
driver: "syslog"
options:
syslog-address: "tcp://127.0.0.1:1514"
tag: "notary-signer"
2017-02-20 11:40:05 +01:00
networks:
harbor-notary:
external: false
notary-sig:
external: false