mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-08 17:08:17 +01:00
7238efd9ae
This commit doesn't integrate redis. No change to makefile b/c it should work once the temporary jobservice_v2 folder is renamed to jobservice.
26 lines
464 B
YAML
26 lines
464 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:
|
|
#0 means unlimited
|
|
workers: 10
|
|
backend: "redis"
|
|
#Additional config if use 'redis' backend
|
|
#TODO: switch to internal redis endpoint and namespace.
|
|
redis_pool:
|
|
host: "redis_host"
|
|
port: 6379
|
|
namespace: "namespace"
|
|
#Logger for job
|
|
|