apps/forgejo/config/values.forgejo.yaml
Peter Kurfer c49945a289
All checks were successful
Renovate / renovate (push) Successful in 1m27s
refactor: switch to hclod object storage
2024-10-10 21:33:02 +02:00

127 lines
3.2 KiB
YAML

image:
rootless: true
strategy:
type: Recreate
ingress:
enabled: false
resources:
limits:
cpu: 500m
memory: 3Gi
requests:
cpu: 250m
memory: 512Mi
persistence:
mount: true
create: false
claimName: data-forgejo-0
gitea:
additionalConfigSources:
- secret:
secretName: forgejo-credentials
admin:
existingSecret: forgejo-admin-credentials
metrics:
enabled: true
serviceMonitor:
enabled: true
additionalLabels:
prometheus: default
config:
repository:
FILE_MAX_SIZE: 30
MAX_FILES: 15
repository.release:
ALLOWED_TYPES: .bz2,.gz,.md,.pdf,.tgz,.txt,.zip,.tar.gz,.txt,application/gzip,application/x-gzip,application/x-gtar,application/x-tgz,application/x-compressed-tar,text/plain
git.timeout:
migrate: 3600
default: 3600
clone: 3600
pull: 3600
gc: 300
log:
level: Warn
server:
DOMAIN: code.icb4dc0.de
PROTOCOL: http
ROOT_URL: https://code.icb4dc0.de/
LFS_START_SERVER: "true"
LANDING_PAGE: explore
ENABLE_GZIP: "true"
ENABLE_PPROF: "true"
SSH_LISTEN_PORT: 2222
service:
DISABLE_REGISTRATION: "true"
DEFAULT_KEEP_EMAIL_PRIVATE: "true"
DEFAULT_ALLOW_CREATE_ORGANIZATION: "false"
DEFAULT_USER_IS_RESTRICTED: "true"
session:
PROVIDER: redis
PROVIDER_CONFIG: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s&
storage:
STORAGE_TYPE: minio
MINIO_ENDPOINT: fsn1.your-objectstorage.com:443
MINIO_BUCKET: 1661580-forgejo
MINIO_LOCATION: auto
MINIO_USE_SSL: "true"
indexer:
ISSUE_INDEXER_TYPE: meilisearch
ISSUE_INDEXER_NAME: gitea_issues
REPO_INDEXER_ENABLED: "true"
REPO_INDEXER_REPO_TYPES: sources,forks,mirrors,templates
REPO_INDEXER_TYPE: bleve
REPO_INDEXER_PATH: indexers/repos.bleve
attachment:
ALLOWED_TYPES: .bz2,.gz,.md,.pdf,.tgz,.txt,.zip,.tar.gz,.txt,application/gzip,application/x-gzip,application/x-gtar,application/x-tgz,application/x-compressed-tar,text/plain,application/octet-stream
MAX_SIZE: 30
MAX_FILES: 15
STORAGE_TYPE: minio
MINIO_ENDPOINT: garage.garage.svc:3900
MINIO_BUCKET: forgejo
MINIO_LOCATION: hel1
MINIO_USE_SSL: "false"
actions:
ENABLED: "true"
DEFAULT_ACTIONS_URL: github
STORAGE_TYPE: minio
database:
DB_TYPE: postgres
HOST: app-cluster-pooler-rw.postgres.svc
NAME: forgejo
USER: forgejo-Dkh0h3
SSL_MODE: require
log_sql: "false"
cache:
ENABLED: true
ADAPTER: redis
HOST: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s&
queue:
TYPE: redis
CONN_STR: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s&
metrics:
ENABLED: true
redis-cluster:
enabled: false
postgresql:
enabled: false
postgresql-ha:
enabled: false
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64