chore: update versions

This commit is contained in:
Sun-ZhenXing
2026-06-12 15:02:32 +08:00
parent b7d3248b37
commit a742b5555b
20 changed files with 66 additions and 29 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# Elasticsearch version # Elasticsearch version
ELASTICSEARCH_VERSION=9.3.0 ELASTICSEARCH_VERSION=9.4.2
# Timezone # Timezone
TZ=UTC TZ=UTC
+1 -1
View File
@@ -9,7 +9,7 @@ x-defaults: &defaults
services: services:
elasticsearch: elasticsearch:
<<: *defaults <<: *defaults
image: docker.elastic.co/elasticsearch/elasticsearch-wolfi:${ELASTICSEARCH_VERSION:-9.3.0} image: docker.elastic.co/elasticsearch/elasticsearch-wolfi:${ELASTICSEARCH_VERSION:-9.4.2}
ports: ports:
- '${ELASTICSEARCH_HTTP_PORT_OVERRIDE:-9200}:9200' - '${ELASTICSEARCH_HTTP_PORT_OVERRIDE:-9200}:9200'
- '${ELASTICSEARCH_TRANSPORT_PORT_OVERRIDE:-9300}:9300' - '${ELASTICSEARCH_TRANSPORT_PORT_OVERRIDE:-9300}:9300'
+1 -1
View File
@@ -1,5 +1,5 @@
# Kafka version (Confluent Platform version) # Kafka version (Confluent Platform version)
KAFKA_VERSION=7.8.0 KAFKA_VERSION=8.2.0
# Timezone # Timezone
TZ=UTC TZ=UTC
+2 -2
View File
@@ -10,7 +10,7 @@ services:
# Zookeeper for Kafka coordination # Zookeeper for Kafka coordination
zookeeper: zookeeper:
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}confluentinc/cp-zookeeper:${KAFKA_VERSION:-7.8.0} image: ${GLOBAL_REGISTRY:-}confluentinc/cp-zookeeper:${KAFKA_VERSION:-8.2.0}
ports: ports:
- '${ZOOKEEPER_CLIENT_PORT_OVERRIDE:-2181}:2181' - '${ZOOKEEPER_CLIENT_PORT_OVERRIDE:-2181}:2181'
volumes: volumes:
@@ -43,7 +43,7 @@ services:
# Kafka broker # Kafka broker
kafka: kafka:
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}confluentinc/cp-kafka:${KAFKA_VERSION:-7.8.0} image: ${GLOBAL_REGISTRY:-}confluentinc/cp-kafka:${KAFKA_VERSION:-8.2.0}
depends_on: depends_on:
zookeeper: zookeeper:
condition: service_healthy condition: service_healthy
+1 -1
View File
@@ -2,7 +2,7 @@
TZ=UTC TZ=UTC
# MongoDB Version # MongoDB Version
MONGO_VERSION=8.2.3 MONGO_VERSION=8.3.3
# MongoDB root credentials # MongoDB root credentials
MONGO_INITDB_ROOT_USERNAME=root MONGO_INITDB_ROOT_USERNAME=root
@@ -8,7 +8,7 @@ x-defaults: &defaults
x-mongo: &mongo x-mongo: &mongo
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}mongo:${MONGO_VERSION:-8.2.3} image: ${GLOBAL_REGISTRY:-}mongo:${MONGO_VERSION:-8.3.3}
environment: environment:
TZ: ${TZ:-UTC} TZ: ${TZ:-UTC}
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME:-root} MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME:-root}
@@ -47,6 +47,7 @@ services:
- '${MONGO_PORT_OVERRIDE_1:-27017}:27017' - '${MONGO_PORT_OVERRIDE_1:-27017}:27017'
volumes: volumes:
- mongo_data:/data/db - mongo_data:/data/db
- mongo_configdb:/data/configdb
- ./secrets/rs0.key:/data/rs0.key:ro - ./secrets/rs0.key:/data/rs0.key:ro
mongo-init: mongo-init:
@@ -110,3 +111,4 @@ services:
volumes: volumes:
mongo_data: mongo_data:
mongo_configdb:
+1 -1
View File
@@ -1,5 +1,5 @@
# MongoDB Version # MongoDB Version
MONGO_VERSION=8.2.3 MONGO_VERSION=8.3.3
# MongoDB root credentials # MongoDB root credentials
MONGO_INITDB_ROOT_USERNAME=root MONGO_INITDB_ROOT_USERNAME=root
+7 -1
View File
@@ -8,7 +8,7 @@ x-defaults: &defaults
x-mongo: &mongo x-mongo: &mongo
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}mongo:${MONGO_VERSION:-8.2.3} image: ${GLOBAL_REGISTRY:-}mongo:${MONGO_VERSION:-8.3.3}
environment: environment:
TZ: ${TZ:-UTC} TZ: ${TZ:-UTC}
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME:-root} MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME:-root}
@@ -47,6 +47,7 @@ services:
- '${MONGO_PORT_OVERRIDE_1:-27017}:27017' - '${MONGO_PORT_OVERRIDE_1:-27017}:27017'
volumes: volumes:
- mongo1_data:/data/db - mongo1_data:/data/db
- mongo1_configdb:/data/configdb
- ./secrets/rs0.key:/data/rs0.key:ro - ./secrets/rs0.key:/data/rs0.key:ro
mongo2: mongo2:
@@ -55,6 +56,7 @@ services:
- '${MONGO_PORT_OVERRIDE_2:-27018}:27017' - '${MONGO_PORT_OVERRIDE_2:-27018}:27017'
volumes: volumes:
- mongo2_data:/data/db - mongo2_data:/data/db
- mongo2_configdb:/data/configdb
- ./secrets/rs0.key:/data/rs0.key:ro - ./secrets/rs0.key:/data/rs0.key:ro
mongo3: mongo3:
@@ -63,6 +65,7 @@ services:
- '${MONGO_PORT_OVERRIDE_3:-27019}:27017' - '${MONGO_PORT_OVERRIDE_3:-27019}:27017'
volumes: volumes:
- mongo3_data:/data/db - mongo3_data:/data/db
- mongo3_configdb:/data/configdb
- ./secrets/rs0.key:/data/rs0.key:ro - ./secrets/rs0.key:/data/rs0.key:ro
mongo-init: mongo-init:
@@ -134,5 +137,8 @@ services:
volumes: volumes:
mongo1_data: mongo1_data:
mongo1_configdb:
mongo2_data: mongo2_data:
mongo2_configdb:
mongo3_data: mongo3_data:
mongo3_configdb:
+1 -1
View File
@@ -1,5 +1,5 @@
# MongoDB Version # MongoDB Version
MONGO_VERSION=8.2.3 MONGO_VERSION=8.3.3
# MongoDB root credentials # MongoDB root credentials
MONGO_INITDB_ROOT_USERNAME=root MONGO_INITDB_ROOT_USERNAME=root
+3 -1
View File
@@ -9,7 +9,7 @@ x-defaults: &defaults
services: services:
mongo: mongo:
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}mongo:${MONGO_VERSION:-8.2.3} image: ${GLOBAL_REGISTRY:-}mongo:${MONGO_VERSION:-8.3.3}
environment: environment:
TZ: ${TZ:-UTC} TZ: ${TZ:-UTC}
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME:-root} MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME:-root}
@@ -19,6 +19,7 @@ services:
- '${MONGO_PORT_OVERRIDE:-27017}:27017' - '${MONGO_PORT_OVERRIDE:-27017}:27017'
volumes: volumes:
- mongo_data:/data/db - mongo_data:/data/db
- mongo_configdb:/data/configdb
healthcheck: healthcheck:
test: [CMD, mongosh, --eval, "db.adminCommand('ping')"] test: [CMD, mongosh, --eval, "db.adminCommand('ping')"]
interval: 30s interval: 30s
@@ -36,3 +37,4 @@ services:
volumes: volumes:
mongo_data: mongo_data:
mongo_configdb:
+1 -1
View File
@@ -1,5 +1,5 @@
# MySQL Version # MySQL Version
MYSQL_VERSION=9.4.0 MYSQL_VERSION=9.7.0
# Root password for MySQL # Root password for MySQL
MYSQL_ROOT_PASSWORD=password MYSQL_ROOT_PASSWORD=password
+1 -1
View File
@@ -9,7 +9,7 @@ x-defaults: &defaults
services: services:
mysql: mysql:
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}mysql:${MYSQL_VERSION:-9.4.0} image: ${GLOBAL_REGISTRY:-}mysql:${MYSQL_VERSION:-9.7.0}
ports: ports:
- '${MYSQL_PORT_OVERRIDE:-3306}:3306' - '${MYSQL_PORT_OVERRIDE:-3306}:3306'
volumes: volumes:
+1 -1
View File
@@ -1,5 +1,5 @@
# Nginx version # Nginx version
NGINX_VERSION=1.28.2-alpine3.22 NGINX_VERSION=1.29.3-alpine3.23
# Timezone # Timezone
TZ=UTC TZ=UTC
+1 -1
View File
@@ -9,7 +9,7 @@ x-defaults: &defaults
services: services:
nginx: nginx:
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}nginx:${NGINX_VERSION:-1.28.2-alpine3.22} image: ${GLOBAL_REGISTRY:-}nginx:${NGINX_VERSION:-1.29.3-alpine3.23}
ports: ports:
- '${NGINX_HTTP_PORT_OVERRIDE:-80}:80' - '${NGINX_HTTP_PORT_OVERRIDE:-80}:80'
- '${NGINX_HTTPS_PORT_OVERRIDE:-443}:443' - '${NGINX_HTTPS_PORT_OVERRIDE:-443}:443'
+9
View File
@@ -1,3 +1,6 @@
# Global registry prefix for images (e.g., docker.io/, ghcr.io/, or private registry)
GLOBAL_REGISTRY=
# OpenTelemetry Collector Contrib image version # OpenTelemetry Collector Contrib image version
OTEL_COLLECTOR_VERSION=0.153.0 OTEL_COLLECTOR_VERSION=0.153.0
@@ -6,3 +9,9 @@ DEPLOY_ENV=production
# OTLP HTTP exporter endpoint (your OTel backend, e.g. OpenObserve, Grafana Tempo, Jaeger) # OTLP HTTP exporter endpoint (your OTel backend, e.g. OpenObserve, Grafana Tempo, Jaeger)
OTEL_EXPORTER_ENDPOINT=http://localhost:4318 OTEL_EXPORTER_ENDPOINT=http://localhost:4318
# Resource limits
OTEL_COLLECTOR_CPU_LIMIT=1.0
OTEL_COLLECTOR_MEMORY_LIMIT=2G
OTEL_COLLECTOR_CPU_RESERVATION=0.1
OTEL_COLLECTOR_MEMORY_RESERVATION=512M
+27 -9
View File
@@ -1,7 +1,15 @@
x-defaults: &defaults
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 10m
max-file: '3'
services: services:
collection-agent: collection-agent:
image: otel/opentelemetry-collector-contrib:${OTEL_COLLECTOR_VERSION:-0.153.0} <<: *defaults
restart: unless-stopped image: ${GLOBAL_REGISTRY:-}otel/opentelemetry-collector-contrib:${OTEL_COLLECTOR_VERSION:-0.153.0}
user: '0:0' user: '0:0'
network_mode: host network_mode: host
environment: environment:
@@ -14,10 +22,20 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.0' cpus: ${OTEL_COLLECTOR_CPU_LIMIT:-1.0}
memory: 2G memory: ${OTEL_COLLECTOR_MEMORY_LIMIT:-2G}
logging: reservations:
driver: json-file cpus: ${OTEL_COLLECTOR_CPU_RESERVATION:-0.1}
options: memory: ${OTEL_COLLECTOR_MEMORY_RESERVATION:-512M}
max-size: 10m healthcheck:
max-file: '3' test:
- CMD
- wget
- --no-verbose
- --tries=1
- --spider
- 'http://localhost:13133/'
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
+1 -1
View File
@@ -1,5 +1,5 @@
# PostgreSQL Version # PostgreSQL Version
POSTGRES_VERSION=17.6 POSTGRES_VERSION=17.10
# Database user # Database user
POSTGRES_USER=postgres POSTGRES_USER=postgres
+1 -1
View File
@@ -9,7 +9,7 @@ x-defaults: &defaults
services: services:
postgres: postgres:
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}postgres:${POSTGRES_VERSION:-17.6} image: ${GLOBAL_REGISTRY:-}postgres:${POSTGRES_VERSION:-17.10}
environment: environment:
TZ: ${TZ:-UTC} TZ: ${TZ:-UTC}
POSTGRES_USER: ${POSTGRES_USER:-postgres} POSTGRES_USER: ${POSTGRES_USER:-postgres}
+2 -2
View File
@@ -2,7 +2,7 @@
GLOBAL_REGISTRY= GLOBAL_REGISTRY=
# Redis version # Redis version
REDIS_VERSION=8.2.1-alpine3.22 REDIS_VERSION=8.4.0-alpine3.23
# Password for Redis authentication (leave empty for no password) # Password for Redis authentication (leave empty for no password)
REDIS_PASSWORD= REDIS_PASSWORD=
@@ -22,4 +22,4 @@ REDIS_CPU_RESERVATION=0.1
# Memory limits # Memory limits
REDIS_MEMORY_LIMIT=256M REDIS_MEMORY_LIMIT=256M
REDIS_MEMORY_RESERVATION=128M REDIS_MEMORY_RESERVATION=128M
+1 -1
View File
@@ -9,7 +9,7 @@ x-defaults: &defaults
services: services:
redis: redis:
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}redis:${REDIS_VERSION:-8.2.1-alpine3.22} image: ${GLOBAL_REGISTRY:-}redis:${REDIS_VERSION:-8.4.0-alpine3.23}
ports: ports:
- '${REDIS_PORT_OVERRIDE:-6379}:6379' - '${REDIS_PORT_OVERRIDE:-6379}:6379'
volumes: volumes: