Skip to content

Commit

Permalink
Upgrade services
Browse files Browse the repository at this point in the history
  • Loading branch information
huuhait committed Nov 16, 2022
1 parent 5f42994 commit d5bc88f
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 7 deletions.
14 changes: 9 additions & 5 deletions templates/compose/backend.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ version: '3.8'

services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.3.3
image: docker.elastic.co/elasticsearch/elasticsearch:8.5.0
ports:
- "9200:9200"
- "9122:9200"
volumes:
- ../data/elasticsearch:/usr/share/elasticsearch/data
environment:
Expand All @@ -13,22 +13,26 @@ services:
discovery.type: "single-node"

redis:
image: redis:4.0.10
image: redis:7.0.5
restart: always
ports:
- "6344:6379"
volumes:
- ../data/redis:/data

questdb:
image: questdb/questdb:6.5.3
image: questdb/questdb:6.5.5
restart: always
ports:
- "8812:8812"
- "9009:9009"
- "8041:9000"
- "9003:9003"
volumes:
- ../data/questdb:/root/.questdb/db
environment:
QDB_CAIRO_COMMIT_LAG: 1000
QDB_METRICS_ENABLED: "true"

vault:
image: vault:1.3.0
Expand All @@ -47,7 +51,7 @@ services:
VAULT_ADDR: http://vault:8200

kibana:
image: docker.elastic.co/kibana/kibana:8.3.3
image: docker.elastic.co/kibana/kibana:8.5.0
ports:
- "5601:5601"
environment:
Expand Down
2 changes: 1 addition & 1 deletion templates/compose/cryptonodes.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'

services:
bsc:
image: thorax/erigon:v2.27.0
image: thorax/erigon:v2.30.0
ports:
- 8575:8575
command: |
Expand Down
38 changes: 38 additions & 0 deletions templates/compose/streams.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ services:
CONNECT_OFFSET_STORAGE_PARTITIONS: 100
CONNECT_STATUS_STORAGE_PARTITIONS: 100
CONNECT_PLUGIN_PATH: /usr/share/java,/connectors,/usr/share/confluent-hub-components/
CONNECT_OFFSET_FLUSH_INTERVAL_MS: 1000
command:
- bash
- -c
Expand All @@ -175,6 +176,43 @@ services:
confluent-hub install --no-prompt confluentinc/connect-transforms:latest
/etc/confluent/docker/run

ksql-server:
image: confluentinc/cp-ksql-server
ports:
- 8088:8088
depends_on:
- redpanda-0
- redpanda-1
- redpanda-2
- redpanda-3
- redpanda-4
- debezium
environment:
KSQL_BOOTSTRAP_SERVERS: "redpanda-0:29092,redpanda-1:29092,redpanda-2:29092,redpanda-3:29092,redpanda-4:29092"
KSQL_LISTENERS: http://ksql-server:8088
KSQL_KSQL_SCHEMA_REGISTRY_URL: http://redpanda-0:8081

control-center:
image: confluentinc/cp-enterprise-control-center
depends_on:
- redpanda-0
- redpanda-1
- redpanda-2
- redpanda-3
- redpanda-4
- debezium
- ksql-server
ports:
- "9021:9021"
environment:
CONTROL_CENTER_BOOTSTRAP_SERVERS: "redpanda-0:29092,redpanda-1:29092,redpanda-2:29092,redpanda-3:29092,redpanda-4:29092"
CONTROL_CENTER_REPLICATION_FACTOR: 1
CONTROL_CENTER_CONNECT_CONNECT1_CLUSTER: http://debezium:8083
CONTROL_CENTER_CONFLUENT_CONTROLCENTER_SCHEMA_REGISTRY_URL: http://redpanda-0:8081
CONTROL_CENTER_SCHEMA_REGISTRY_URL: http://redpanda-0:8081
CONTROL_CENTER_KSQL_URL: "http://ksql-server:8088"
CONTROL_CENTER_KSQL_ADVERTISED_URL: "http://ksql-server:8088"

console:
image: vectorized/console:latest
depends_on:
Expand Down
2 changes: 2 additions & 0 deletions templates/config/coverapp.env.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REDIS_HOST=redis
REDIS_PORT=6379
2 changes: 1 addition & 1 deletion templates/config/gateway/envoy.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static_resources:
- exact: x-content-type-options
- exact: x-frame-options
- exact: x-request-id

- exact: x-cache
path_prefix: "/api/v2/auth"
server_uri:
cluster: barong
Expand Down

0 comments on commit d5bc88f

Please sign in to comment.