mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-05 18:20:37 +01:00
c44e3bf9d1
Clean up the admin_server Signed-off-by: Qian Deng <dengq@vmware.com>
40 lines
997 B
Django/Jinja
40 lines
997 B
Django/Jinja
---
|
|
#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
|
|
redis_url: {{redis_url}}
|
|
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: "INFO" # INFO/DEBUG/WARNING/ERROR/FATAL
|
|
- name: "FILE"
|
|
level: "INFO"
|
|
settings: # Customized settings of logger
|
|
base_dir: "/var/log/jobs"
|
|
sweeper:
|
|
duration: 1 #days
|
|
settings: # Customized settings of sweeper
|
|
work_dir: "/var/log/jobs"
|
|
|
|
#Loggers for the job service
|
|
loggers:
|
|
- name: "STD_OUTPUT" # Same with above
|
|
level: "INFO"
|