2023-07-17 16:38:07 +00:00
|
|
|
image:
|
|
|
|
rootless: true
|
|
|
|
|
2022-09-11 16:49:31 +00:00
|
|
|
service:
|
|
|
|
ssh:
|
|
|
|
type: NodePort
|
|
|
|
nodePort: 32022
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
enabled: true
|
2023-10-26 19:57:43 +00:00
|
|
|
annotations:
|
|
|
|
gethomepage.dev/description: where to code goes to
|
|
|
|
gethomepage.dev/enabled: "true"
|
|
|
|
gethomepage.dev/group: Apps
|
|
|
|
gethomepage.dev/icon: forgejo.png
|
|
|
|
gethomepage.dev/name: Forgejo
|
2022-09-11 16:49:31 +00:00
|
|
|
hosts:
|
|
|
|
- host: code.icb4dc0.de
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
|
|
|
|
resources:
|
|
|
|
limits:
|
2022-09-27 20:17:18 +00:00
|
|
|
cpu: 500m
|
2023-03-02 15:11:31 +00:00
|
|
|
memory: 3Gi
|
2022-09-11 16:49:31 +00:00
|
|
|
requests:
|
2022-09-27 20:17:18 +00:00
|
|
|
cpu: 250m
|
2023-03-02 15:11:31 +00:00
|
|
|
memory: 512Mi
|
2022-09-11 16:49:31 +00:00
|
|
|
|
|
|
|
persistence:
|
2022-09-14 20:26:57 +00:00
|
|
|
enabled: true
|
|
|
|
size: 10Gi
|
|
|
|
storageClass: hcloud-volumes
|
2022-09-11 16:49:31 +00:00
|
|
|
|
|
|
|
gitea:
|
2023-10-30 09:32:01 +00:00
|
|
|
additionalConfigSources:
|
|
|
|
- secret:
|
|
|
|
secretName: forgejo-credentials
|
2022-09-11 16:49:31 +00:00
|
|
|
admin:
|
2023-03-01 17:10:31 +00:00
|
|
|
existingSecret: forgejo-admin-credentials
|
2022-12-28 17:38:21 +00:00
|
|
|
metrics:
|
|
|
|
enabled: true
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
additionalLabels:
|
|
|
|
prometheus: default
|
2022-09-11 16:49:31 +00:00
|
|
|
config:
|
2023-09-14 15:20:05 +00:00
|
|
|
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
|
2022-09-27 20:17:18 +00:00
|
|
|
git.timeout:
|
|
|
|
migrate: 3600
|
|
|
|
default: 3600
|
|
|
|
clone: 3600
|
|
|
|
pull: 3600
|
|
|
|
gc: 300
|
2022-09-29 18:51:26 +00:00
|
|
|
log:
|
|
|
|
level: Warn
|
2022-09-11 16:49:31 +00:00
|
|
|
server:
|
|
|
|
PROTOCOL: http
|
|
|
|
ROOT_URL: https://code.icb4dc0.de/
|
|
|
|
LFS_START_SERVER: 'true'
|
2023-03-01 18:56:18 +00:00
|
|
|
LANDING_PAGE: explore
|
|
|
|
ENABLE_GZIP: 'true'
|
2023-04-04 16:18:49 +00:00
|
|
|
ENABLE_PPROF: 'true'
|
2023-01-03 19:39:48 +00:00
|
|
|
service:
|
|
|
|
DISABLE_REGISTRATION: 'true'
|
|
|
|
DEFAULT_KEEP_EMAIL_PRIVATE: 'true'
|
|
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION: 'false'
|
|
|
|
DEFAULT_USER_IS_RESTRICTED: 'true'
|
2022-09-11 16:49:31 +00:00
|
|
|
storage:
|
|
|
|
STORAGE_TYPE: minio
|
|
|
|
MINIO_ENDPOINT: minio.minio.svc.cluster.local:9000
|
|
|
|
MINIO_BUCKET: gitea
|
|
|
|
MINIO_LOCATION: us-east-1
|
|
|
|
MINIO_USE_SSL: 'false'
|
2023-01-03 19:39:48 +00:00
|
|
|
attachment:
|
2023-09-14 15:20:05 +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
|
|
|
|
MAX_SIZE: 30
|
|
|
|
MAX_FILES: 15
|
|
|
|
STORAGE_TYPE: minio
|
|
|
|
MINIO_ENDPOINT: minio.minio.svc.cluster.local:9000
|
|
|
|
MINIO_BUCKET: gitea
|
|
|
|
MINIO_LOCATION: us-east-1
|
|
|
|
MINIO_USE_SSL: 'false'
|
2022-09-11 16:49:31 +00:00
|
|
|
database:
|
|
|
|
DB_TYPE: postgres
|
2022-12-28 17:38:21 +00:00
|
|
|
HOST: postgres-15-postgresql.postgres.svc.cluster.local:5432
|
2022-09-11 16:49:31 +00:00
|
|
|
NAME: gitea
|
|
|
|
USER: gitea
|
2022-09-29 18:51:26 +00:00
|
|
|
log_sql: "false"
|
2022-12-28 17:38:21 +00:00
|
|
|
metrics:
|
|
|
|
ENABLED: true
|
2022-09-11 16:49:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
postgresql:
|
2022-12-28 17:38:21 +00:00
|
|
|
enabled: false
|