mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-05 00:23:33 +01:00
76 lines
1.7 KiB
Smarty
76 lines
1.7 KiB
Smarty
version: '2'
|
|
services:
|
|
ui:
|
|
networks:
|
|
- harbor-notary
|
|
proxy:
|
|
networks:
|
|
- harbor-notary
|
|
notary-server:
|
|
image: vmware/notary-server-photon:__notary_version__
|
|
container_name: notary-server
|
|
restart: always
|
|
networks:
|
|
- notary-mdb
|
|
- notary-sig
|
|
- harbor-notary
|
|
volumes:
|
|
- ./common/config/notary:/config
|
|
depends_on:
|
|
- notary-db
|
|
- notary-signer
|
|
logging:
|
|
driver: "syslog"
|
|
options:
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
tag: "notary-server"
|
|
notary-signer:
|
|
image: vmware/notary-signer-photon:__notary_version__
|
|
container_name: notary-signer
|
|
restart: always
|
|
networks:
|
|
notary-mdb:
|
|
notary-sig:
|
|
aliases:
|
|
- notarysigner
|
|
volumes:
|
|
- ./common/config/notary:/config
|
|
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"
|
|
notary-db:
|
|
image: vmware/mariadb-photon:__mariadb_version__
|
|
container_name: notary-db
|
|
restart: always
|
|
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
|
|
depends_on:
|
|
- log
|
|
logging:
|
|
driver: "syslog"
|
|
options:
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
tag: "notary-db"
|
|
networks:
|
|
harbor-notary:
|
|
external: false
|
|
notary-mdb:
|
|
external: false
|
|
notary-sig:
|
|
external: false
|