mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
close CLOUD-233 #### PR Dependency Tree * **PR #12950** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for configuring multiple server hosts across backend and frontend settings. * Enhanced deployment and Helm chart configuration to allow specifying multiple ingress hosts. * Updated admin and configuration interfaces to display and manage multiple server hosts. * **Improvements** * Improved URL generation, OAuth, and worker service logic to dynamically handle requests from multiple hosts. * Enhanced captcha verification to support multiple allowed hostnames. * Updated frontend logic for platform-specific server base URLs and allowed origins, including Apple app domains. * Expanded test coverage for multi-host scenarios. * **Bug Fixes** * Corrected backend logic to consistently use dynamic base URLs and origins based on request host context. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
74 lines
1.4 KiB
YAML
74 lines
1.4 KiB
YAML
global:
|
|
app:
|
|
buildType: 'stable'
|
|
ingress:
|
|
enabled: false
|
|
className: ''
|
|
# hosts for ingress rules
|
|
# e.g.
|
|
# hosts:
|
|
# - affine.pro
|
|
# - www.affine.pro
|
|
hosts:
|
|
- affine.pro
|
|
tls: []
|
|
secret:
|
|
secretName: 'server-private-key'
|
|
privateKey: ''
|
|
database:
|
|
user: 'postgres'
|
|
host: 'pg-postgresql'
|
|
port: '5432'
|
|
name: 'affine'
|
|
password: ''
|
|
redis:
|
|
host: 'redis-master'
|
|
port: '6379'
|
|
username: ''
|
|
password: ''
|
|
database: 0
|
|
indexer:
|
|
provider: ''
|
|
endpoint: ''
|
|
username: ''
|
|
password: ''
|
|
docService:
|
|
name: 'affine-doc'
|
|
port: 3020
|
|
deployment:
|
|
# change to 'selfhosted' and 'unknown' if this chart is ready to be used for selfhosted deployment
|
|
type: 'affine'
|
|
platform: 'gcp'
|
|
|
|
graphql:
|
|
service:
|
|
type: ClusterIP
|
|
port: 3000
|
|
annotations:
|
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
|
|
|
sync:
|
|
service:
|
|
type: ClusterIP
|
|
port: 3010
|
|
annotations:
|
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
|
|
|
renderer:
|
|
service:
|
|
type: ClusterIP
|
|
port: 3000
|
|
annotations:
|
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
|
|
|
doc:
|
|
service:
|
|
type: ClusterIP
|
|
annotations:
|
|
cloud.google.com/backend-config: '{"default": "affine-api-backendconfig"}'
|
|
|
|
web:
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|