mirror of
https://github.com/temporalio/docker-compose.git
synced 2026-08-30 18:41:40 -07:00
Clean up dynamic configs (#108)
This commit is contained in:
@@ -59,11 +59,11 @@ docker-compose -f docker-compose-mysql-es.yml up
|
||||
Here is a list of available files and the dependencies they use.
|
||||
|
||||
| File | Description |
|
||||
| ---------------------------------- | -------------------------------------- |
|
||||
|------------------------------------| -------------------------------------- |
|
||||
| docker-compose.yml | PostgreSQL and Elasticsearch (default) |
|
||||
| docker-compose-postgres.yml | PostgreSQL |
|
||||
| docker-compose-cas.yml | Cassandra |
|
||||
| docker-compose-cas-es.yml | Cassandra and Elasticsearch |
|
||||
| docker-compose-cass.yml | Cassandra |
|
||||
| docker-compose-cass-es.yml | Cassandra and Elasticsearch |
|
||||
| docker-compose-mysql.yml | MySQL |
|
||||
| docker-compose-mysql-es.yml | MySQL and Elasticsearch |
|
||||
| docker-compose-cockroach.yml | CockroachDB |
|
||||
|
||||
@@ -29,7 +29,7 @@ services:
|
||||
- elasticsearch
|
||||
environment:
|
||||
- CASSANDRA_SEEDS=cassandra
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_es.yaml
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_cass.yaml
|
||||
- ENABLE_ES=true
|
||||
- ES_SEEDS=elasticsearch
|
||||
- ES_VERSION=v7
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
- cassandra
|
||||
environment:
|
||||
- CASSANDRA_SEEDS=cassandra
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development.yaml
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_cass.yaml
|
||||
image: temporalio/auto-setup:${TEMPORAL_VERSION}
|
||||
networks:
|
||||
- temporal-network
|
||||
@@ -41,7 +41,7 @@ services:
|
||||
- POSTGRES_USER=root
|
||||
- POSTGRES_PWD=
|
||||
- POSTGRES_SEEDS=postgres
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql_es.yaml
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql.yaml
|
||||
- ENABLE_ES=true
|
||||
- ES_SEEDS=elasticsearch
|
||||
- ES_VERSION=v7
|
||||
|
||||
@@ -34,7 +34,7 @@ services:
|
||||
- MYSQL_USER=root
|
||||
- MYSQL_PWD=root
|
||||
- MYSQL_SEEDS=mysql
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql_es.yaml
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql.yaml
|
||||
- ENABLE_ES=true
|
||||
- ES_SEEDS=elasticsearch
|
||||
- ES_VERSION=v7
|
||||
|
||||
@@ -67,7 +67,7 @@ services:
|
||||
- POSTGRES_PWD=temporal
|
||||
- POSTGRES_SEEDS=postgresql
|
||||
- SQL_TLS=true
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql_es.yaml
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql.yaml
|
||||
- ENABLE_ES=true
|
||||
- ES_SEEDS=elasticsearch
|
||||
- ES_VERSION=v7
|
||||
|
||||
@@ -36,7 +36,7 @@ services:
|
||||
- POSTGRES_USER=temporal
|
||||
- POSTGRES_PWD=temporal
|
||||
- POSTGRES_SEEDS=postgresql
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql_es.yaml
|
||||
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_sql.yaml
|
||||
- ENABLE_ES=true
|
||||
- ES_SEEDS=elasticsearch
|
||||
- ES_VERSION=v7
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Use `development.yaml` file to override the default dynamic config value (they are specified
|
||||
Use `docker.yaml` file to override the default dynamic config value (they are specified
|
||||
when creating the service config).
|
||||
|
||||
Each key can have zero or more values and each value can have zero or more
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
frontend.enableClientVersionCheck:
|
||||
- value: true
|
||||
constraints: {}
|
||||
history.persistenceMaxQPS:
|
||||
- value: 3000
|
||||
constraints: {}
|
||||
frontend.persistenceMaxQPS:
|
||||
- value: 3000
|
||||
constraints: {}
|
||||
frontend.historyMgrNumConns:
|
||||
- value: 10
|
||||
constraints: {}
|
||||
frontend.throttledLogRPS:
|
||||
- value: 20
|
||||
constraints: {}
|
||||
history.historyMgrNumConns:
|
||||
- value: 50
|
||||
constraints: {}
|
||||
history.defaultActivityRetryPolicy:
|
||||
- value:
|
||||
InitialIntervalInSeconds: 1
|
||||
MaximumIntervalCoefficient: 100.0
|
||||
BackoffCoefficient: 2.0
|
||||
MaximumAttempts: 0
|
||||
history.defaultWorkflowRetryPolicy:
|
||||
- value:
|
||||
InitialIntervalInSeconds: 1
|
||||
MaximumIntervalCoefficient: 100.0
|
||||
BackoffCoefficient: 2.0
|
||||
MaximumAttempts: 0
|
||||
system.advancedVisibilityWritingMode:
|
||||
- value: "off"
|
||||
constraints: {}
|
||||
system.forceSearchAttributesCacheRefreshOnRead:
|
||||
- value: true # Dev setup only. Please don't turn this on in production.
|
||||
constraints: {}
|
||||
3
dynamicconfig/development_cass.yaml
Normal file
3
dynamicconfig/development_cass.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
system.forceSearchAttributesCacheRefreshOnRead:
|
||||
- value: true # Dev setup only. Please don't turn this on in production.
|
||||
constraints: {}
|
||||
@@ -1,39 +0,0 @@
|
||||
frontend.enableClientVersionCheck:
|
||||
- value: true
|
||||
constraints: {}
|
||||
history.persistenceMaxQPS:
|
||||
- value: 3000
|
||||
constraints: {}
|
||||
frontend.persistenceMaxQPS:
|
||||
- value: 3000
|
||||
constraints: {}
|
||||
frontend.historyMgrNumConns:
|
||||
- value: 10
|
||||
constraints: {}
|
||||
frontend.throttledLogRPS:
|
||||
- value: 20
|
||||
constraints: {}
|
||||
history.historyMgrNumConns:
|
||||
- value: 50
|
||||
constraints: {}
|
||||
history.defaultActivityRetryPolicy:
|
||||
- value:
|
||||
InitialIntervalInSeconds: 1
|
||||
MaximumIntervalCoefficient: 100.0
|
||||
BackoffCoefficient: 2.0
|
||||
MaximumAttempts: 0
|
||||
history.defaultWorkflowRetryPolicy:
|
||||
- value:
|
||||
InitialIntervalInSeconds: 1
|
||||
MaximumIntervalCoefficient: 100.0
|
||||
BackoffCoefficient: 2.0
|
||||
MaximumAttempts: 0
|
||||
system.advancedVisibilityWritingMode:
|
||||
- value: "on"
|
||||
constraints: {}
|
||||
system.enableReadVisibilityFromES:
|
||||
- value: true
|
||||
constraints: {}
|
||||
system.forceSearchAttributesCacheRefreshOnRead:
|
||||
- value: true # Dev setup only. Please don't turn this on in production.
|
||||
constraints: {}
|
||||
@@ -1,36 +1,3 @@
|
||||
frontend.enableClientVersionCheck:
|
||||
- value: true
|
||||
constraints: {}
|
||||
history.persistenceMaxQPS:
|
||||
- value: 3000
|
||||
constraints: {}
|
||||
frontend.persistenceMaxQPS:
|
||||
- value: 3000
|
||||
constraints: {}
|
||||
frontend.historyMgrNumConns:
|
||||
- value: 10
|
||||
constraints: {}
|
||||
frontend.throttledLogRPS:
|
||||
- value: 20
|
||||
constraints: {}
|
||||
history.historyMgrNumConns:
|
||||
- value: 50
|
||||
constraints: {}
|
||||
history.defaultActivityRetryPolicy:
|
||||
- value:
|
||||
InitialIntervalInSeconds: 1
|
||||
MaximumIntervalCoefficient: 100.0
|
||||
BackoffCoefficient: 2.0
|
||||
MaximumAttempts: 0
|
||||
history.defaultWorkflowRetryPolicy:
|
||||
- value:
|
||||
InitialIntervalInSeconds: 1
|
||||
MaximumIntervalCoefficient: 100.0
|
||||
BackoffCoefficient: 2.0
|
||||
MaximumAttempts: 0
|
||||
system.advancedVisibilityWritingMode:
|
||||
- value: "off"
|
||||
constraints: {}
|
||||
limit.maxIDLength:
|
||||
- value: 255
|
||||
constraints: {}
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
frontend.enableClientVersionCheck:
|
||||
- value: true
|
||||
constraints: {}
|
||||
history.persistenceMaxQPS:
|
||||
- value: 3000
|
||||
constraints: {}
|
||||
frontend.persistenceMaxQPS:
|
||||
- value: 3000
|
||||
constraints: {}
|
||||
frontend.historyMgrNumConns:
|
||||
- value: 10
|
||||
constraints: {}
|
||||
frontend.throttledLogRPS:
|
||||
- value: 20
|
||||
constraints: {}
|
||||
history.historyMgrNumConns:
|
||||
- value: 50
|
||||
constraints: {}
|
||||
history.defaultActivityRetryPolicy:
|
||||
- value:
|
||||
InitialIntervalInSeconds: 1
|
||||
MaximumIntervalCoefficient: 100.0
|
||||
BackoffCoefficient: 2.0
|
||||
MaximumAttempts: 0
|
||||
history.defaultWorkflowRetryPolicy:
|
||||
- value:
|
||||
InitialIntervalInSeconds: 1
|
||||
MaximumIntervalCoefficient: 100.0
|
||||
BackoffCoefficient: 2.0
|
||||
MaximumAttempts: 0
|
||||
system.advancedVisibilityWritingMode:
|
||||
- value: "on"
|
||||
constraints: {}
|
||||
system.enableReadVisibilityFromES:
|
||||
- value: true
|
||||
constraints: {}
|
||||
limit.maxIDLength:
|
||||
- value: 255
|
||||
constraints: {}
|
||||
system.forceSearchAttributesCacheRefreshOnRead:
|
||||
- value: true # Dev setup only. Please don't turn this on in production.
|
||||
constraints: {}
|
||||
0
dynamicconfig/docker.yaml
Normal file
0
dynamicconfig/docker.yaml
Normal file
Reference in New Issue
Block a user