fix(gitea): Change to public DNS with private IP

This commit is contained in:
2026-01-26 08:53:46 +01:00
parent 955424cc70
commit b49f8dc005
+13 -13
View File
@@ -56,8 +56,8 @@ gitea:
ENABLE_NOTIFY_MAIL: true ENABLE_NOTIFY_MAIL: true
server: server:
APP_DATA_PATH: "/data/gitea" APP_DATA_PATH: "/data/gitea"
DOMAIN: git.svc.hel1.obx DOMAIN: git.oceanbox.io
ROOT_URL: https://git.svc.hel1.obx ROOT_URL: https://git.oceanbox.io
SSH_DOMAIN: git.obx SSH_DOMAIN: git.obx
SSH_PORT: 22 SSH_PORT: 22
SSH_LISTEN_PORT: 22 SSH_LISTEN_PORT: 22
@@ -70,14 +70,13 @@ gitea:
UPDATE_AVATAR: true UPDATE_AVATAR: true
ACCOUNT_LINKING: auto ACCOUNT_LINKING: auto
# mailer: # mailer:
# ENABLED: true # ENABLED: true
# PROTOCOL: "smtp" # FROM: "noreply@oceanbox.io"
# SMTP_ADDR: postfix-mail.postfix.svc.cluster.local # PROTOCOL: "smtp+startls"
# SMTP_PORT: 587 # SMTP_ADDR: "smtp.office365.com"
# FROM: "noreply@oceanbox.io" # SMTP_PORT: 587
# USER: "noreply@oceanbox.io" # USER: "noreply@oceanbox.io"
# PASSWD: "00c73c4a-1ad5-477d-b773-d5d63986061e" # PASSWD:
# HELO_HOSTNAME: "oceanbox.io"
database: database:
DB_TYPE: postgres DB_TYPE: postgres
MAX_OPEN_CONNS: 90 MAX_OPEN_CONNS: 90
@@ -139,14 +138,15 @@ ingress:
enabled: true enabled: true
className: nginx className: nginx
annotations: annotations:
cert-manager.io/cluster-issuer: ca-issuer cert-manager.io/cluster-issuer: letsencrypt-production
nginx.ingress.kubernetes.io/ssl-redirect: "true" nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: HTTP
nginx.ingress.kubernetes.io/proxy-body-size: "0" nginx.ingress.kubernetes.io/proxy-body-size: "0"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600" nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600" nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,172.19.255.0/24,100.64.0.0/12 nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,172.19.255.0/24,100.64.0.0/12
hosts: hosts:
- host: git.svc.hel1.obx - host: git.oceanbox.io
paths: paths:
- backend: - backend:
service: service:
@@ -158,7 +158,7 @@ ingress:
tls: tls:
- secretName: gitea-tls - secretName: gitea-tls
hosts: hosts:
- git.svc.hel1.obx - git.oceanbox.io
service: service:
ssh: ssh: