mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-08 19:50:05 +01:00
adc2f8f124
replace tcp host:port with 'redis://arbitrary_usrname:password@ipaddress:port/database_index' update prepare to generate config yaml file of job service based on harbor.cfg update harbor.cfg default values
31 lines
695 B
YAML
31 lines
695 B
YAML
---
|
|
#Protocol used to serve
|
|
protocol: "http"
|
|
|
|
#Config certification if use 'https' protocol
|
|
#https_config:
|
|
# cert: "server.crt"
|
|
# key: "server.key"
|
|
|
|
#Server listening port
|
|
port: 8080
|
|
|
|
#Worker pool
|
|
worker_pool:
|
|
#Worker concurrency
|
|
workers: $max_job_workers
|
|
backend: "redis"
|
|
#Additional config if use 'redis' backend
|
|
redis_pool:
|
|
#redis://[arbitrary_username:password@]ipaddress:port/database_index
|
|
#or ipaddress:port[,weight,password,database_index]
|
|
redis_url: $redis_url
|
|
namespace: "harbor_job_service_namespace"
|
|
#Logger for job
|
|
logger:
|
|
path: "/var/log/jobs"
|
|
level: "INFO"
|
|
archive_period: 14 #days
|
|
#Admin server endpoint
|
|
admin_server: "http://adminserver:8080/"
|