apps/forgejo/config/values.forgejo.yaml

128 lines
3.2 KiB
YAML
Raw Normal View History

2023-11-14 21:12:33 +00:00
image:
rootless: true
2024-02-14 20:45:58 +00:00
strategy:
type: Recreate
2023-11-14 21:12:33 +00:00
ingress:
2024-02-21 07:12:13 +00:00
enabled: false
2023-11-14 21:12:33 +00:00
resources:
limits:
cpu: 500m
memory: 3Gi
requests:
cpu: 250m
memory: 512Mi
persistence:
2023-12-14 20:51:44 +00:00
mount: true
create: false
claimName: data-forgejo-0
2023-11-14 21:12:33 +00:00
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:
2024-02-27 20:05:41 +00:00
DOMAIN: code.icb4dc0.de
2023-11-14 21:12:33 +00:00
PROTOCOL: http
ROOT_URL: https://code.icb4dc0.de/
LFS_START_SERVER: "true"
2023-11-14 21:12:33 +00:00
LANDING_PAGE: explore
ENABLE_GZIP: "true"
ENABLE_PPROF: "true"
2024-04-30 13:37:49 +00:00
SSH_LISTEN_PORT: 2222
2023-11-14 21:12:33 +00:00
service:
DISABLE_REGISTRATION: "true"
DEFAULT_KEEP_EMAIL_PRIVATE: "true"
DEFAULT_ALLOW_CREATE_ORGANIZATION: "false"
DEFAULT_USER_IS_RESTRICTED: "true"
2023-12-14 20:51:44 +00:00
session:
PROVIDER: redis
2024-05-07 09:10:16 +00:00
PROVIDER_CONFIG: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s&
2023-11-14 21:12:33 +00:00
storage:
STORAGE_TYPE: minio
MINIO_ENDPOINT: fsn1.your-objectstorage.com:443
MINIO_BUCKET: 1661580-forgejo
MINIO_LOCATION: auto
MINIO_USE_SSL: "true"
2024-04-25 16:15:09 +00:00
indexer:
ISSUE_INDEXER_TYPE: meilisearch
ISSUE_INDEXER_NAME: gitea_issues
REPO_INDEXER_ENABLED: "true"
2024-04-25 16:15:09 +00:00
REPO_INDEXER_REPO_TYPES: sources,forks,mirrors,templates
REPO_INDEXER_TYPE: bleve
REPO_INDEXER_PATH: indexers/repos.bleve
2023-11-14 21:12:33 +00:00
attachment:
2023-12-14 20:51:44 +00:00
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
2023-11-14 21:12:33 +00:00
MAX_SIZE: 30
MAX_FILES: 15
STORAGE_TYPE: minio
2024-11-07 21:16:11 +00:00
MINIO_ENDPOINT: fsn1.your-objectstorage.com:443
2024-05-07 09:10:16 +00:00
MINIO_BUCKET: forgejo
2024-11-07 21:16:11 +00:00
MINIO_LOCATION: auto
MINIO_USE_SSL: "true"
2023-11-14 21:12:33 +00:00
actions:
ENABLED: "true"
2023-11-14 21:12:33 +00:00
DEFAULT_ACTIONS_URL: github
STORAGE_TYPE: minio
database:
DB_TYPE: postgres
HOST: app-cluster-pooler-rw.postgres.svc
2023-11-14 21:12:33 +00:00
NAME: forgejo
USER: forgejo-Dkh0h3
2023-11-14 21:12:33 +00:00
SSL_MODE: require
log_sql: "false"
2023-12-14 20:51:44 +00:00
cache:
ENABLED: true
ADAPTER: redis
2024-05-07 09:10:16 +00:00
HOST: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s&
2023-12-14 20:51:44 +00:00
queue:
TYPE: redis
2024-05-07 09:10:16 +00:00
CONN_STR: redis://forgejo-session.forgejo.svc:6379/0?pool_size=100&idle_timeout=180s&
2023-11-14 21:12:33 +00:00
metrics:
ENABLED: true
2023-12-14 20:51:44 +00:00
redis-cluster:
enabled: false
2023-11-14 21:12:33 +00:00
postgresql:
enabled: false
2023-12-14 20:51:44 +00:00
postgresql-ha:
enabled: false
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64