2017-02-20 11:40:05 +01:00
|
|
|
version: '2'
|
|
|
|
services:
|
2018-09-12 08:38:29 +02:00
|
|
|
core:
|
2017-02-20 11:40:05 +01:00
|
|
|
networks:
|
|
|
|
- harbor-notary
|
|
|
|
proxy:
|
|
|
|
networks:
|
|
|
|
- harbor-notary
|
2018-04-27 11:27:12 +02:00
|
|
|
postgresql:
|
|
|
|
networks:
|
|
|
|
harbor-notary:
|
|
|
|
aliases:
|
|
|
|
- harbor-db
|
2017-02-20 11:40:05 +01:00
|
|
|
notary-server:
|
2018-08-10 08:16:59 +02:00
|
|
|
image: goharbor/notary-server-photon:__notary_version__
|
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-sig
|
|
|
|
- harbor-notary
|
2018-10-17 08:27:25 +02:00
|
|
|
dns_search: .
|
2017-02-20 11:40:05 +01:00
|
|
|
volumes:
|
2018-04-08 17:43:45 +02:00
|
|
|
- ./common/config/notary:/etc/notary:z
|
2018-04-27 11:27:12 +02:00
|
|
|
env_file:
|
|
|
|
- ./common/config/notary/server_env
|
2017-02-20 11:40:05 +01:00
|
|
|
depends_on:
|
2018-04-27 11:27:12 +02:00
|
|
|
- postgresql
|
2017-02-20 11:40:05 +01:00
|
|
|
- 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:
|
2018-08-10 08:16:59 +02:00
|
|
|
image: goharbor/notary-signer-photon:__notary_version__
|
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:
|
2018-04-27 11:27:12 +02:00
|
|
|
harbor-notary:
|
2017-02-20 11:40:05 +01:00
|
|
|
notary-sig:
|
|
|
|
aliases:
|
|
|
|
- notarysigner
|
2018-10-17 08:27:25 +02:00
|
|
|
dns_search: .
|
2017-02-20 11:40:05 +01:00
|
|
|
volumes:
|
2018-04-08 17:43:45 +02:00
|
|
|
- ./common/config/notary:/etc/notary:z
|
2017-02-20 11:40:05 +01:00
|
|
|
env_file:
|
|
|
|
- ./common/config/notary/signer_env
|
|
|
|
depends_on:
|
2018-04-27 11:27:12 +02:00
|
|
|
- postgresql
|
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
|
|
|
networks:
|
|
|
|
harbor-notary:
|
|
|
|
external: false
|
|
|
|
notary-sig:
|
2018-04-27 11:27:12 +02:00
|
|
|
external: false
|