mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-19 16:55:16 +01:00
2bc1402357
fix issue #7988 Signed-off-by: Steven Zou <szou@vmware.com>
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
---
|
|
#Protocol used to serve
|
|
protocol: "https"
|
|
|
|
#Config certification if use 'https' protocol
|
|
https_config:
|
|
cert: "server.crt"
|
|
key: "server.key"
|
|
|
|
#Server listening port
|
|
port: 9443
|
|
|
|
#Worker worker
|
|
worker_pool:
|
|
#Worker concurrency
|
|
workers: 10
|
|
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://localhost:6379/2"
|
|
namespace: "harbor_job_service_namespace"
|
|
|
|
#Loggers for the running job
|
|
job_loggers:
|
|
- name: "STD_OUTPUT" # logger backend name, only support "FILE" and "STD_OUTPUT"
|
|
level: "DEBUG" # INFO/DEBUG/WARNING/ERROR/FATAL
|
|
- name: "FILE"
|
|
level: "DEBUG"
|
|
settings: # Customized settings of logger
|
|
base_dir: "/tmp/job_logs"
|
|
sweeper:
|
|
duration: 1 #days
|
|
settings: # Customized settings of sweeper
|
|
work_dir: "/tmp/job_logs"
|
|
|
|
#Loggers for the job service
|
|
loggers:
|
|
- name: "STD_OUTPUT" # Same with above
|
|
level: "DEBUG"
|
|
|