mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-12-15 06:41:46 +08:00
79 lines
2.4 KiB
YAML
79 lines
2.4 KiB
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: hangar-backend
|
|
labels:
|
|
{{- include "hangar.labels" . | nindent 4 }}
|
|
type: Opaque
|
|
stringData:
|
|
application.yaml: |
|
|
spring:
|
|
application:
|
|
name: hangar-backend
|
|
datasource:
|
|
url: "jdbc:postgresql://{{ .Values.backend.config.postgresql.hostname }}:{{ .Values.backend.config.postgresql.port }}/{{ .Values.backend.config.postgresql.database }}{{ .Values.backend.config.postgresql.options }}"
|
|
username: "{{ .Values.backend.config.postgresql.username }}"
|
|
password: "{{ .Values.backend.config.postgresql.password }}"
|
|
server:
|
|
port: 8080
|
|
management:
|
|
server:
|
|
port: 8081
|
|
security:
|
|
enabled: false
|
|
endpoints:
|
|
enabled-by-default: true
|
|
endpoint:
|
|
health:
|
|
enabled: true
|
|
probes:
|
|
enabled: true
|
|
health:
|
|
livenessState:
|
|
enabled: true
|
|
readinessState:
|
|
enabled: true
|
|
tracing:
|
|
enabled: true
|
|
zipkin:
|
|
tracing:
|
|
endpoint: "{{ .Values.backend.config.zipkinEndpoint }}"
|
|
|
|
hangar:
|
|
dev: false
|
|
base-url: "{{ .Values.base.host }}"
|
|
allow-indexing: "{{ .Values.base.allowIndexing }}"
|
|
disable-jgroups: "false"
|
|
|
|
announcements:
|
|
-
|
|
text: "{{ .Values.backend.config.announcement }}"
|
|
color: "#ff544b"
|
|
|
|
security:
|
|
token-secret: "{{ .Values.backend.config.tokenSecret }}"
|
|
rp-id: "{{ .Values.backend.config.rpId }}"
|
|
|
|
storage:
|
|
plugin-upload-dir: "/hangar/uploads"
|
|
type: "{{ .Values.backend.config.storage.type }}"
|
|
access-key: "{{ .Values.backend.config.storage.accessKey }}"
|
|
secret-key: "{{ .Values.backend.config.storage.secretKey }}"
|
|
bucket: "{{ .Values.backend.config.storage.bucket }}"
|
|
object-storage-endpoint: "{{ .Values.backend.config.storage.objectStorageEndpoint }}"
|
|
cdnEndpoint: "{{ .Values.backend.config.storage.cdnEndpoint }}"
|
|
cdnIncludeBucket: "{{ .Values.backend.config.storage.cdnIncludeBucket }}"
|
|
|
|
mail:
|
|
from: "{{ .Values.backend.config.mail.from }}"
|
|
user: "{{ .Values.backend.config.mail.user }}"
|
|
pass: "{{ .Values.backend.config.mail.pass }}"
|
|
host: "{{ .Values.backend.config.mail.host }}"
|
|
port: "{{ .Values.backend.config.mail.port }}"
|
|
dev: false
|
|
|
|
logging:
|
|
level:
|
|
root: INFO
|
|
org.springframework: INFO
|