2019-05-06 10:32:00 +02:00
|
|
|
version: '2.3'
|
2018-11-15 04:09:57 +01:00
|
|
|
services:
|
|
|
|
log:
|
|
|
|
image: goharbor/harbor-log:{{version}}
|
2019-02-20 11:01:48 +01:00
|
|
|
container_name: harbor-log
|
2018-11-15 04:09:57 +01:00
|
|
|
restart: always
|
|
|
|
dns_search: .
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- DAC_OVERRIDE
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- {{log_location}}/:/var/log/docker/:z
|
2019-06-21 08:18:28 +02:00
|
|
|
- ./common/config/log/logrotate.conf:/etc/logrotate.d/logrotate.conf:z
|
|
|
|
- ./common/config/log/rsyslog_docker.conf:/etc/rsyslog.d/rsyslog_docker.conf:z
|
2018-11-15 04:09:57 +01:00
|
|
|
ports:
|
|
|
|
- 127.0.0.1:1514:10514
|
|
|
|
networks:
|
|
|
|
- harbor
|
|
|
|
registry:
|
|
|
|
image: goharbor/registry-photon:{{reg_version}}
|
|
|
|
container_name: registry
|
|
|
|
restart: always
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- {{data_volume}}/registry:/storage:z
|
|
|
|
- ./common/config/registry/:/etc/registry/:z
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{data_volume}}/secret/registry/root.crt
|
|
|
|
target: /etc/registry/root.crt
|
2019-04-02 14:08:26 +02:00
|
|
|
{% if gcs_keyfile %}
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{gcs_keyfile}}
|
|
|
|
target: /etc/registry/gcs.key
|
2019-04-02 14:08:26 +02:00
|
|
|
{% endif %}
|
|
|
|
{%if registry_custom_ca_bundle_path %}
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{registry_custom_ca_bundle_path}}
|
|
|
|
target: /harbor_cust_cert/custom-ca-bundle.crt
|
2019-03-12 12:09:01 +01:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
networks:
|
|
|
|
- harbor
|
|
|
|
{% if with_clair %}
|
|
|
|
- harbor-clair
|
|
|
|
{% endif %}
|
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
|
|
|
- log
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-10-17 06:00:51 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "registry"
|
|
|
|
registryctl:
|
|
|
|
image: goharbor/harbor-registryctl:{{version}}
|
|
|
|
container_name: registryctl
|
|
|
|
env_file:
|
|
|
|
- ./common/config/registryctl/env
|
|
|
|
restart: always
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- {{data_volume}}/registry:/storage:z
|
|
|
|
- ./common/config/registry/:/etc/registry/:z
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: ./common/config/registryctl/config.yml
|
|
|
|
target: /etc/registryctl/config.yml
|
2019-05-05 09:24:52 +02:00
|
|
|
{%if registry_custom_ca_bundle_path %}
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{registry_custom_ca_bundle_path}}
|
|
|
|
target: /harbor_cust_cert/custom-ca-bundle.crt
|
2019-05-05 09:24:52 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
networks:
|
|
|
|
- harbor
|
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
|
|
|
- log
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-10-17 06:00:51 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "registryctl"
|
2019-08-26 09:04:57 +02:00
|
|
|
{% if external_database == False %}
|
2018-11-15 04:09:57 +01:00
|
|
|
postgresql:
|
|
|
|
image: goharbor/harbor-db:{{version}}
|
|
|
|
container_name: harbor-db
|
|
|
|
restart: always
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- DAC_OVERRIDE
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- {{data_volume}}/database:/var/lib/postgresql/data:z
|
2018-11-15 04:09:57 +01:00
|
|
|
networks:
|
|
|
|
harbor:
|
2019-08-26 09:04:57 +02:00
|
|
|
{% if with_notary %}
|
2018-11-15 04:09:57 +01:00
|
|
|
harbor-notary:
|
|
|
|
aliases:
|
|
|
|
- harbor-db
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if with_clair %}
|
2018-11-15 04:09:57 +01:00
|
|
|
harbor-clair:
|
|
|
|
aliases:
|
|
|
|
- harbor-db
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
dns_search: .
|
|
|
|
env_file:
|
|
|
|
- ./common/config/db/env
|
|
|
|
depends_on:
|
|
|
|
- log
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-10-17 06:00:51 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "postgresql"
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
core:
|
|
|
|
image: goharbor/harbor-core:{{version}}
|
|
|
|
container_name: harbor-core
|
|
|
|
env_file:
|
|
|
|
- ./common/config/core/env
|
|
|
|
restart: always
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- {{data_volume}}/ca_download/:/etc/core/ca/:z
|
|
|
|
- {{data_volume}}/psc/:/etc/core/token/:z
|
|
|
|
- {{data_volume}}/:/data/:z
|
|
|
|
- ./common/config/core/certificates/:/etc/core/certificates/:z
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: ./common/config/core/app.conf
|
|
|
|
target: /etc/core/app.conf
|
|
|
|
- type: bind
|
|
|
|
source: {{data_volume}}/secret/core/private_key.pem
|
|
|
|
target: /etc/core/private_key.pem
|
|
|
|
- type: bind
|
|
|
|
source: {{data_volume}}/secret/keys/secretkey
|
|
|
|
target: /etc/core/key
|
2019-05-06 10:32:00 +02:00
|
|
|
{% if uaa_ca_file %}
|
|
|
|
- type: bind
|
|
|
|
source: {{uaa_ca_file}}
|
|
|
|
target: /etc/core/certificates/uaa_ca.pem
|
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
networks:
|
|
|
|
harbor:
|
|
|
|
{% if with_notary %}
|
|
|
|
harbor-notary:
|
|
|
|
{% endif %}
|
|
|
|
{% if with_clair %}
|
|
|
|
harbor-clair:
|
|
|
|
aliases:
|
|
|
|
- harbor-core
|
|
|
|
{% endif %}
|
|
|
|
{% if with_chartmuseum %}
|
|
|
|
harbor-chartmuseum:
|
|
|
|
aliases:
|
|
|
|
- harbor-core
|
|
|
|
{% endif %}
|
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
|
|
|
- log
|
|
|
|
- registry
|
2019-08-26 09:04:57 +02:00
|
|
|
{% if external_redis == False %}
|
|
|
|
- redis
|
|
|
|
{% endif %}
|
|
|
|
{% if external_database == False %}
|
|
|
|
- postgresql
|
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-10-17 06:00:51 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "core"
|
|
|
|
portal:
|
|
|
|
image: goharbor/harbor-portal:{{version}}
|
|
|
|
container_name: harbor-portal
|
|
|
|
restart: always
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
- NET_BIND_SERVICE
|
2018-11-15 04:09:57 +01:00
|
|
|
networks:
|
|
|
|
- harbor
|
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
|
|
|
- log
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
|
|
|
options:
|
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "portal"
|
|
|
|
|
|
|
|
jobservice:
|
|
|
|
image: goharbor/harbor-jobservice:{{version}}
|
|
|
|
container_name: harbor-jobservice
|
|
|
|
env_file:
|
|
|
|
- ./common/config/jobservice/env
|
|
|
|
restart: always
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- {{data_volume}}/job_logs:/var/log/jobs:z
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
2019-05-09 08:02:44 +02:00
|
|
|
source: ./common/config/jobservice/config.yml
|
|
|
|
target: /etc/jobservice/config.yml
|
2018-11-15 04:09:57 +01:00
|
|
|
networks:
|
|
|
|
- harbor
|
|
|
|
{% if with_clair %}
|
|
|
|
- harbor-clair
|
|
|
|
{% endif %}
|
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
|
|
|
- core
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
|
|
|
options:
|
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "jobservice"
|
2019-08-26 09:04:57 +02:00
|
|
|
{% if external_redis == False %}
|
2018-11-15 04:09:57 +01:00
|
|
|
redis:
|
|
|
|
image: goharbor/redis-photon:{{redis_version}}
|
|
|
|
container_name: redis
|
|
|
|
restart: always
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- {{data_volume}}/redis:/var/lib/redis
|
2018-11-15 04:09:57 +01:00
|
|
|
networks:
|
|
|
|
harbor:
|
2019-08-26 09:04:57 +02:00
|
|
|
{% if with_chartmuseum %}
|
2018-11-15 04:09:57 +01:00
|
|
|
harbor-chartmuseum:
|
|
|
|
aliases:
|
|
|
|
- redis
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
|
|
|
- log
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
|
|
|
options:
|
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "redis"
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
proxy:
|
2019-08-26 09:04:57 +02:00
|
|
|
image: goharbor/nginx-photon:{{version}}
|
2018-11-15 04:09:57 +01:00
|
|
|
container_name: nginx
|
|
|
|
restart: always
|
2019-02-20 11:01:48 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
- NET_BIND_SERVICE
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- ./common/config/nginx:/etc/nginx:z
|
2019-03-12 12:09:01 +01:00
|
|
|
{% if protocol == 'https' %}
|
2019-08-09 09:17:10 +02:00
|
|
|
- {{data_volume}}/secret/cert:/etc/cert:z
|
2019-03-12 12:09:01 +01:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
networks:
|
|
|
|
- harbor
|
|
|
|
{% if with_notary %}
|
|
|
|
- harbor-notary
|
|
|
|
{% endif %}
|
|
|
|
dns_search: .
|
|
|
|
ports:
|
2019-07-29 09:52:17 +02:00
|
|
|
- {{http_port}}:8080
|
2019-04-16 05:20:13 +02:00
|
|
|
{% if protocol == 'https' %}
|
2019-07-29 09:52:17 +02:00
|
|
|
- {{https_port}}:8443
|
2019-04-16 05:20:13 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if with_notary %}
|
2018-11-15 04:09:57 +01:00
|
|
|
- 4443:4443
|
2019-04-16 05:20:13 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
depends_on:
|
|
|
|
- registry
|
|
|
|
- core
|
|
|
|
- portal
|
|
|
|
- log
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-10-17 06:00:51 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "proxy"
|
|
|
|
{% if with_notary %}
|
|
|
|
notary-server:
|
|
|
|
image: goharbor/notary-server-photon:{{notary_version}}
|
|
|
|
container_name: notary-server
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- notary-sig
|
|
|
|
- harbor-notary
|
|
|
|
dns_search: .
|
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- ./common/config/notary:/etc/notary:z
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{data_volume}}/secret/notary/notary-signer-ca.crt
|
|
|
|
target: /etc/notary/notary-signer-ca.crt
|
|
|
|
- type: bind
|
|
|
|
source: {{data_volume}}/secret/registry/root.crt
|
|
|
|
target: /etc/notary/root.crt
|
2018-11-15 04:09:57 +01:00
|
|
|
env_file:
|
|
|
|
- ./common/config/notary/server_env
|
|
|
|
depends_on:
|
2019-08-26 09:04:57 +02:00
|
|
|
{% if external_database == False %}
|
2018-11-15 04:09:57 +01:00
|
|
|
- postgresql
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
- notary-signer
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-10-17 06:00:51 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "notary-server"
|
|
|
|
notary-signer:
|
|
|
|
image: goharbor/notary-signer-photon:{{notary_version}}
|
|
|
|
container_name: notary-signer
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
harbor-notary:
|
|
|
|
notary-sig:
|
|
|
|
aliases:
|
|
|
|
- notarysigner
|
|
|
|
dns_search: .
|
|
|
|
volumes:
|
2019-05-09 08:02:44 +02:00
|
|
|
- ./common/config/notary:/etc/notary:z
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{data_volume}}/secret/notary/notary-signer.crt
|
|
|
|
target: /etc/notary/notary-signer.crt
|
|
|
|
- type: bind
|
|
|
|
source: {{data_volume}}/secret/notary/notary-signer.key
|
|
|
|
target: /etc/notary/notary-signer.key
|
2018-11-15 04:09:57 +01:00
|
|
|
env_file:
|
|
|
|
- ./common/config/notary/signer_env
|
|
|
|
depends_on:
|
2019-08-26 09:04:57 +02:00
|
|
|
- log
|
|
|
|
{% if external_database == False %}
|
2018-11-15 04:09:57 +01:00
|
|
|
- postgresql
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-10-17 06:00:51 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "notary-signer"
|
|
|
|
{% endif %}
|
|
|
|
{% if with_clair %}
|
|
|
|
clair:
|
|
|
|
networks:
|
|
|
|
- harbor-clair
|
|
|
|
container_name: clair
|
|
|
|
image: goharbor/clair-photon:{{clair_version}}
|
|
|
|
restart: always
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- DAC_OVERRIDE
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
cpu_quota: 50000
|
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
2019-08-26 09:04:57 +02:00
|
|
|
- log
|
|
|
|
{% if external_database == False %}
|
2018-11-15 04:09:57 +01:00
|
|
|
- postgresql
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: ./common/config/clair/config.yaml
|
|
|
|
target: /etc/clair/config.yaml
|
2019-08-26 09:04:57 +02:00
|
|
|
{%if registry_custom_ca_bundle_path %}
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{registry_custom_ca_bundle_path}}
|
|
|
|
target: /harbor_cust_cert/custom-ca-bundle.crt
|
2019-08-26 09:04:57 +02:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-04-30 11:05:27 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "clair"
|
|
|
|
env_file:
|
|
|
|
./common/config/clair/clair_env
|
2019-10-17 06:00:51 +02:00
|
|
|
clair-adapter:
|
|
|
|
networks:
|
|
|
|
- harbor-clair
|
|
|
|
container_name: clair-adapter
|
|
|
|
image: goharbor/clair-adapter-photon:{{clair_adapter_version}}
|
|
|
|
restart: always
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- DAC_OVERRIDE
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
cpu_quota: 50000
|
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
|
|
|
- clair
|
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
|
|
|
options:
|
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "clair-adapter"
|
|
|
|
env_file:
|
|
|
|
./common/config/clair-adapter/env
|
2018-11-15 04:09:57 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if with_chartmuseum %}
|
|
|
|
chartmuseum:
|
|
|
|
container_name: chartmuseum
|
|
|
|
image: goharbor/chartmuseum-photon:{{chartmuseum_version}}
|
|
|
|
restart: always
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- DAC_OVERRIDE
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
networks:
|
|
|
|
- harbor-chartmuseum
|
|
|
|
dns_search: .
|
|
|
|
depends_on:
|
2019-08-26 09:04:57 +02:00
|
|
|
- log
|
2018-11-15 04:09:57 +01:00
|
|
|
volumes:
|
|
|
|
- {{data_volume}}/chart_storage:/chart_storage:z
|
|
|
|
- ./common/config/chartserver:/etc/chartserver:z
|
2019-05-05 10:02:01 +02:00
|
|
|
{% if gcs_keyfile %}
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{gcs_keyfile}}
|
2019-06-16 07:34:26 +02:00
|
|
|
target: /etc/chartserver/gcs.key
|
2019-05-05 10:02:01 +02:00
|
|
|
{% endif %}
|
2019-04-02 14:08:26 +02:00
|
|
|
{%if registry_custom_ca_bundle_path %}
|
2019-05-08 14:32:29 +02:00
|
|
|
- type: bind
|
|
|
|
source: {{registry_custom_ca_bundle_path}}
|
|
|
|
target: /harbor_cust_cert/custom-ca-bundle.crt
|
2019-03-12 12:09:01 +01:00
|
|
|
{% endif %}
|
2018-11-15 04:09:57 +01:00
|
|
|
logging:
|
|
|
|
driver: "syslog"
|
2019-10-17 06:00:51 +02:00
|
|
|
options:
|
2018-11-15 04:09:57 +01:00
|
|
|
syslog-address: "tcp://127.0.0.1:1514"
|
|
|
|
tag: "chartmuseum"
|
|
|
|
env_file:
|
|
|
|
./common/config/chartserver/env
|
|
|
|
{% endif %}
|
|
|
|
networks:
|
|
|
|
harbor:
|
|
|
|
external: false
|
|
|
|
{% if with_notary %}
|
|
|
|
harbor-notary:
|
|
|
|
external: false
|
|
|
|
notary-sig:
|
|
|
|
external: false
|
|
|
|
{% endif %}
|
|
|
|
{% if with_clair %}
|
|
|
|
harbor-clair:
|
|
|
|
external: false
|
|
|
|
{% endif %}
|
|
|
|
{% if with_chartmuseum %}
|
|
|
|
harbor-chartmuseum:
|
|
|
|
external: false
|
|
|
|
{% endif %}
|