pearl harbor

This commit is contained in:
2025-11-04 10:06:29 -08:00
parent 79cec08e0a
commit 65acfb1ff0
2 changed files with 77 additions and 4 deletions

72
harbor.yml Normal file
View File

@@ -0,0 +1,72 @@
# Harbor configuration file
# General settings
hostname: harbor.craftmatrix.org
http:
port: 80
https:
port: 443
certificate: /data/cert/server.crt
private_key: /data/cert/server.key
# Database settings
database:
password: root123
max_idle_conns: 100
max_open_conns: 900
# Redis settings
redis:
password: redis123
# Log settings
log:
level: info
local:
rotate_count: 50
rotate_size: 200M
location: /var/log/harbor
# Storage settings
storage_service:
ca_bundle: /data/registry/ca-bundle.crt
filesystem:
maxthreads: 100
# Uncomment and configure for other storage types
# s3:
# region: us-west-1
# bucket: harbor-bucket
# accesskey: access-key
# secretkey: secret-key
# Project creation quotas
project_creation_restriction: everyone
# Admin password
adminserver:
password: Harbor12345
# Jobservice settings
jobservice:
max_job_workers: 10
job_logger_provider: file
# Registry settings
registry:
credentials_ttl: 5m
# Chart storage settings
chart:
absolute_url: disabled
# Clair settings
clair:
updaters_interval: 12
# Trivy settings
trivy:
ignore_unfixed: false
skip_update: false
offline_scan: false
security_check: vuln
insecure: false