1
0
mirror of https://github.com/goharbor/harbor.git synced 2025-01-10 09:57:42 +01:00

set restart policy of notary to 'always'

This commit is contained in:
Tan Jiang 2017-04-27 17:07:38 +08:00
parent ed6e60ba71
commit c3c34ea7c3

View File

@ -9,6 +9,7 @@ services:
notary-server: notary-server:
image: vmware/notary-photon:server-0.5.0 image: vmware/notary-photon:server-0.5.0
container_name: notary-server container_name: notary-server
restart: always
networks: networks:
- notary-mdb - notary-mdb
- notary-sig - notary-sig
@ -28,6 +29,7 @@ services:
notary-signer: notary-signer:
image: vmware/notary-photon:signer-0.5.0 image: vmware/notary-photon:signer-0.5.0
container_name: notary-signer container_name: notary-signer
restart: always
networks: networks:
notary-mdb: notary-mdb:
notary-sig: notary-sig:
@ -49,6 +51,7 @@ services:
notary-db: notary-db:
image: vmware/harbor-notary-db:mariadb-10.1.10 image: vmware/harbor-notary-db:mariadb-10.1.10
container_name: notary-db container_name: notary-db
restart: always
networks: networks:
notary-mdb: notary-mdb:
aliases: aliases: