mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
115 lines
4.7 KiB
YAML
115 lines
4.7 KiB
YAML
|
Source:
|
||
|
cockroach:
|
||
|
Host: localhost # ZITADEL_DATABASE_COCKROACH_HOST
|
||
|
Port: 26257 # ZITADEL_DATABASE_COCKROACH_PORT
|
||
|
Database: zitadel # ZITADEL_DATABASE_COCKROACH_DATABASE
|
||
|
MaxOpenConns: 6 # ZITADEL_DATABASE_COCKROACH_MAXOPENCONNS
|
||
|
MaxIdleConns: 6 # ZITADEL_DATABASE_COCKROACH_MAXIDLECONNS
|
||
|
EventPushConnRatio: 0.33 # ZITADEL_DATABASE_COCKROACH_EVENTPUSHCONNRATIO
|
||
|
ProjectionSpoolerConnRatio: 0.33 # ZITADEL_DATABASE_COCKROACH_PROJECTIONSPOOLERCONNRATIO
|
||
|
MaxConnLifetime: 30m # ZITADEL_DATABASE_COCKROACH_MAXCONNLIFETIME
|
||
|
MaxConnIdleTime: 5m # ZITADEL_DATABASE_COCKROACH_MAXCONNIDLETIME
|
||
|
Options: "" # ZITADEL_DATABASE_COCKROACH_OPTIONS
|
||
|
User:
|
||
|
Username: zitadel # ZITADEL_DATABASE_COCKROACH_USER_USERNAME
|
||
|
Password: "" # ZITADEL_DATABASE_COCKROACH_USER_PASSWORD
|
||
|
SSL:
|
||
|
Mode: disable # ZITADEL_DATABASE_COCKROACH_USER_SSL_MODE
|
||
|
RootCert: "" # ZITADEL_DATABASE_COCKROACH_USER_SSL_ROOTCERT
|
||
|
Cert: "" # ZITADEL_DATABASE_COCKROACH_USER_SSL_CERT
|
||
|
Key: "" # ZITADEL_DATABASE_COCKROACH_USER_SSL_KEY
|
||
|
# Postgres is used as soon as a value is set
|
||
|
# The values describe the possible fields to set values
|
||
|
postgres:
|
||
|
Host: # ZITADEL_DATABASE_POSTGRES_HOST
|
||
|
Port: # ZITADEL_DATABASE_POSTGRES_PORT
|
||
|
Database: # ZITADEL_DATABASE_POSTGRES_DATABASE
|
||
|
MaxOpenConns: # ZITADEL_DATABASE_POSTGRES_MAXOPENCONNS
|
||
|
MaxIdleConns: # ZITADEL_DATABASE_POSTGRES_MAXIDLECONNS
|
||
|
MaxConnLifetime: # ZITADEL_DATABASE_POSTGRES_MAXCONNLIFETIME
|
||
|
MaxConnIdleTime: # ZITADEL_DATABASE_POSTGRES_MAXCONNIDLETIME
|
||
|
Options: # ZITADEL_DATABASE_POSTGRES_OPTIONS
|
||
|
User:
|
||
|
Username: # ZITADEL_DATABASE_POSTGRES_USER_USERNAME
|
||
|
Password: # ZITADEL_DATABASE_POSTGRES_USER_PASSWORD
|
||
|
SSL:
|
||
|
Mode: # ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE
|
||
|
RootCert: # ZITADEL_DATABASE_POSTGRES_USER_SSL_ROOTCERT
|
||
|
Cert: # ZITADEL_DATABASE_POSTGRES_USER_SSL_CERT
|
||
|
Key: # ZITADEL_DATABASE_POSTGRES_USER_SSL_KEY
|
||
|
|
||
|
Destination:
|
||
|
cockroach:
|
||
|
Host: localhost # ZITADEL_DATABASE_COCKROACH_HOST
|
||
|
Port: 26257 # ZITADEL_DATABASE_COCKROACH_PORT
|
||
|
Database: zitadel # ZITADEL_DATABASE_COCKROACH_DATABASE
|
||
|
MaxOpenConns: 0 # ZITADEL_DATABASE_COCKROACH_MAXOPENCONNS
|
||
|
MaxIdleConns: 0 # ZITADEL_DATABASE_COCKROACH_MAXIDLECONNS
|
||
|
MaxConnLifetime: 30m # ZITADEL_DATABASE_COCKROACH_MAXCONNLIFETIME
|
||
|
MaxConnIdleTime: 5m # ZITADEL_DATABASE_COCKROACH_MAXCONNIDLETIME
|
||
|
EventPushConnRatio: 0.01 # ZITADEL_DATABASE_COCKROACH_EVENTPUSHCONNRATIO
|
||
|
ProjectionSpoolerConnRatio: 0.5 # ZITADEL_DATABASE_COCKROACH_PROJECTIONSPOOLERCONNRATIO
|
||
|
Options: "" # ZITADEL_DATABASE_COCKROACH_OPTIONS
|
||
|
User:
|
||
|
Username: zitadel # ZITADEL_DATABASE_COCKROACH_USER_USERNAME
|
||
|
Password: "" # ZITADEL_DATABASE_COCKROACH_USER_PASSWORD
|
||
|
SSL:
|
||
|
Mode: disable # ZITADEL_DATABASE_COCKROACH_USER_SSL_MODE
|
||
|
RootCert: "" # ZITADEL_DATABASE_COCKROACH_USER_SSL_ROOTCERT
|
||
|
Cert: "" # ZITADEL_DATABASE_COCKROACH_USER_SSL_CERT
|
||
|
Key: "" # ZITADEL_DATABASE_COCKROACH_USER_SSL_KEY
|
||
|
# Postgres is used as soon as a value is set
|
||
|
# The values describe the possible fields to set values
|
||
|
postgres:
|
||
|
Host: # ZITADEL_DATABASE_POSTGRES_HOST
|
||
|
Port: # ZITADEL_DATABASE_POSTGRES_PORT
|
||
|
Database: # ZITADEL_DATABASE_POSTGRES_DATABASE
|
||
|
MaxOpenConns: # ZITADEL_DATABASE_POSTGRES_MAXOPENCONNS
|
||
|
MaxIdleConns: # ZITADEL_DATABASE_POSTGRES_MAXIDLECONNS
|
||
|
MaxConnLifetime: # ZITADEL_DATABASE_POSTGRES_MAXCONNLIFETIME
|
||
|
MaxConnIdleTime: # ZITADEL_DATABASE_POSTGRES_MAXCONNIDLETIME
|
||
|
Options: # ZITADEL_DATABASE_POSTGRES_OPTIONS
|
||
|
User:
|
||
|
Username: # ZITADEL_DATABASE_POSTGRES_USER_USERNAME
|
||
|
Password: # ZITADEL_DATABASE_POSTGRES_USER_PASSWORD
|
||
|
SSL:
|
||
|
Mode: # ZITADEL_DATABASE_POSTGRES_USER_SSL_MODE
|
||
|
RootCert: # ZITADEL_DATABASE_POSTGRES_USER_SSL_ROOTCERT
|
||
|
Cert: # ZITADEL_DATABASE_POSTGRES_USER_SSL_CERT
|
||
|
Key: # ZITADEL_DATABASE_POSTGRES_USER_SSL_KEY
|
||
|
|
||
|
EventBulkSize: 10000
|
||
|
|
||
|
Projections:
|
||
|
# The maximum duration a transaction remains open
|
||
|
# before it spots left folding additional events
|
||
|
# and updates the table.
|
||
|
TransactionDuration: 0s # ZITADEL_PROJECTIONS_TRANSACTIONDURATION
|
||
|
# turn off scheduler during operation
|
||
|
RequeueEvery: 0s
|
||
|
ConcurrentInstances: 7
|
||
|
EventBulkLimit: 1000
|
||
|
Customizations:
|
||
|
notifications:
|
||
|
MaxFailureCount: 1
|
||
|
|
||
|
Eventstore:
|
||
|
MaxRetries: 3
|
||
|
|
||
|
Auth:
|
||
|
Spooler:
|
||
|
TransactionDuration: 0s #ZITADEL_AUTH_SPOOLER_TRANSACTIONDURATION
|
||
|
BulkLimit: 1000 #ZITADEL_AUTH_SPOOLER_BULKLIMIT
|
||
|
|
||
|
Admin:
|
||
|
Spooler:
|
||
|
TransactionDuration: 0s #ZITADEL_AUTH_SPOOLER_TRANSACTIONDURATION
|
||
|
BulkLimit: 10 #ZITADEL_AUTH_SPOOLER_BULKLIMIT
|
||
|
|
||
|
FirstInstance:
|
||
|
# We only need to create an empty zitadel database so this step must be skipped
|
||
|
Skip: true
|
||
|
|
||
|
Log:
|
||
|
Level: info
|