feat(opensandbox): add initial configuration files and documentation for OpenSandbox platform

feat(elasticsearch): upgrade Elasticsearch version to 9.3.0 in environment and docker-compose files

feat(gitlab): update GitLab version to 18.8.3-ce.0 in environment and docker-compose files

feat(grafana): bump Grafana version to 12.3.2 in environment and docker-compose files

feat(jenkins): upgrade Jenkins version to 2.541-lts-jdk17 in environment and docker-compose files

fix(minio): remove unnecessary newline in docker-compose file

feat(nginx): downgrade Nginx version to 1.28.2-alpine3.22 in environment and docker-compose files

feat(ollama): update Ollama version to 0.14.3 in environment and docker-compose files

feat(prometheus): upgrade Prometheus version to 3.5.1 in environment and docker-compose files

feat(rabbitmq): update RabbitMQ version to 4.2.3-management-alpine in environment and docker-compose files
This commit is contained in:
Sun-ZhenXing
2026-02-07 18:11:02 +08:00
parent d53dffca83
commit c03771751c
24 changed files with 953 additions and 297 deletions

View File

@@ -1,5 +1,5 @@
# Elasticsearch version
ELASTICSEARCH_VERSION=9.2.0
ELASTICSEARCH_VERSION=9.3.0
# Timezone
TZ=UTC

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
elasticsearch:
<<: *defaults
image: docker.elastic.co/elasticsearch/elasticsearch-wolfi:${ELASTICSEARCH_VERSION:-9.2.0}
image: docker.elastic.co/elasticsearch/elasticsearch-wolfi:${ELASTICSEARCH_VERSION:-9.3.0}
ports:
- "${ELASTICSEARCH_HTTP_PORT_OVERRIDE:-9200}:9200"
- "${ELASTICSEARCH_TRANSPORT_PORT_OVERRIDE:-9300}:9300"
@@ -42,7 +42,8 @@ services:
cpus: ${ELASTICSEARCH_CPU_RESERVATION:-0.50}
memory: ${ELASTICSEARCH_MEMORY_RESERVATION:-1G}
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health || exit 1"]
test:
["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health || exit 1"]
interval: 30s
timeout: 10s
retries: 5

View File

@@ -1,5 +1,5 @@
# GitLab Version
GITLAB_VERSION=18.4.0-ce.0
GITLAB_VERSION=18.8.3-ce.0
# GitLab ports
GITLAB_PORT_OVERRIDE_HTTPS=5443

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
gitlab:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}gitlab/gitlab-ce:${GITLAB_VERSION:-18.4.0-ce.0}
image: ${GLOBAL_REGISTRY:-}gitlab/gitlab-ce:${GITLAB_VERSION:-18.8.3-ce.0}
ports:
- "${GITLAB_PORT_OVERRIDE_HTTPS:-5443}:443"
- "${GITLAB_PORT_OVERRIDE_HTTP:-5080}:80"

View File

@@ -1,7 +1,7 @@
# Grafana Environment Variables
# Grafana image version
GRAFANA_VERSION=12.1.1
GRAFANA_VERSION=12.3.2
# Host port mapping (maps to Grafana port 3000 in container)
GRAFANA_PORT_OVERRIDE=3000

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
grafana:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}grafana/grafana:${GRAFANA_VERSION:-12.1.1}
image: ${GLOBAL_REGISTRY:-}grafana/grafana:${GRAFANA_VERSION:-12.3.2}
ports:
- "${GRAFANA_PORT_OVERRIDE:-3000}:3000"
volumes:
@@ -27,7 +27,7 @@ services:
- GF_INSTALL_PLUGINS=${GRAFANA_PLUGINS:-}
- GF_SERVER_ROOT_URL=${GRAFANA_ROOT_URL:-http://localhost:3000}
- GF_SECURITY_SECRET_KEY=${GRAFANA_SECRET_KEY:-}
user: "472:472" # Grafana user
user: "472:472" # Grafana user
deploy:
resources:
limits:
@@ -37,7 +37,15 @@ services:
cpus: ${GRAFANA_CPU_RESERVATION:-0.25}
memory: ${GRAFANA_MEMORY_RESERVATION:-256M}
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"]
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:3000/api/health",
]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -1,5 +1,5 @@
# Jenkins version
JENKINS_VERSION=2.486-lts-jdk17
JENKINS_VERSION=2.541-lts-jdk17
# Timezone
TZ=UTC

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
jenkins:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}jenkins/jenkins:${JENKINS_VERSION:-2.486-lts-jdk17}
image: ${GLOBAL_REGISTRY:-}jenkins/jenkins:${JENKINS_VERSION:-2.541-lts-jdk17}
ports:
- "${JENKINS_HTTP_PORT_OVERRIDE:-8080}:8080"
- "${JENKINS_AGENT_PORT_OVERRIDE:-50000}:50000"

View File

@@ -35,6 +35,5 @@ services:
cpus: ${MINIO_CPU_RESERVATION:-0.25}
memory: ${MINIO_MEMORY_RESERVATION:-512M}
volumes:
minio_data:

View File

@@ -1,5 +1,5 @@
# Nginx version
NGINX_VERSION=1.29.2-alpine3.22
NGINX_VERSION=1.28.2-alpine3.22
# Timezone
TZ=UTC

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
nginx:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}nginx:${NGINX_VERSION:-1.29.2-alpine3.22}
image: ${GLOBAL_REGISTRY:-}nginx:${NGINX_VERSION:-1.28.2-alpine3.22}
ports:
- "${NGINX_HTTP_PORT_OVERRIDE:-80}:80"
- "${NGINX_HTTPS_PORT_OVERRIDE:-443}:443"
@@ -34,7 +34,15 @@ services:
cpus: ${NGINX_CPU_RESERVATION:-0.25}
memory: ${NGINX_MEMORY_RESERVATION:-64M}
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:80/",
]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -1,5 +1,5 @@
# Ollama Version
OLLAMA_VERSION=0.12.10
OLLAMA_VERSION=0.14.3
# Port to bind to on the host machine
OLLAMA_PORT_OVERRIDE=11434

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
ollama:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}ollama/ollama:${OLLAMA_VERSION:-0.12.10}
image: ${GLOBAL_REGISTRY:-}ollama/ollama:${OLLAMA_VERSION:-0.14.3}
ports:
- "${OLLAMA_PORT_OVERRIDE:-11434}:11434"
volumes:
@@ -18,7 +18,15 @@ services:
- TZ=${TZ:-UTC}
ipc: host
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:11434/"]
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:11434/",
]
interval: 30s
timeout: 10s
retries: 3
@@ -33,8 +41,8 @@ services:
memory: ${OLLAMA_MEMORY_RESERVATION:-4G}
devices:
- driver: nvidia
device_ids: [ '0' ]
capabilities: [ gpu ]
device_ids: ["0"]
capabilities: [gpu]
volumes:
ollama_models:

View File

@@ -1,7 +1,7 @@
# Prometheus Environment Variables
# Prometheus image version
PROMETHEUS_VERSION=v3.5.0
PROMETHEUS_VERSION=v3.5.1
# Host port mapping (maps to Prometheus port 9090 in container)
PROMETHEUS_PORT_OVERRIDE=9090

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
prometheus:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}prom/prometheus:${PROMETHEUS_VERSION:-v3.5.0}
image: ${GLOBAL_REGISTRY:-}prom/prometheus:${PROMETHEUS_VERSION:-v3.5.1}
ports:
- "${PROMETHEUS_PORT_OVERRIDE:-9090}:9090"
volumes:
@@ -19,20 +19,20 @@ services:
# - ./prometheus.yml:/etc/prometheus/prometheus.yml
# - ./rules:/etc/prometheus/rules
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.retention.time=${PROMETHEUS_RETENTION_TIME:-15d}'
- '--storage.tsdb.retention.size=${PROMETHEUS_RETENTION_SIZE:-}'
- '--web.enable-lifecycle'
- '--web.enable-admin-api'
- '--web.external-url=${PROMETHEUS_EXTERNAL_URL:-http://localhost:9090}'
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--web.console.libraries=/etc/prometheus/console_libraries"
- "--web.console.templates=/etc/prometheus/consoles"
- "--storage.tsdb.retention.time=${PROMETHEUS_RETENTION_TIME:-15d}"
- "--storage.tsdb.retention.size=${PROMETHEUS_RETENTION_SIZE:-}"
- "--web.enable-lifecycle"
- "--web.enable-admin-api"
- "--web.external-url=${PROMETHEUS_EXTERNAL_URL:-http://localhost:9090}"
environment:
- TZ=${TZ:-UTC}
- PROMETHEUS_RETENTION_TIME=${PROMETHEUS_RETENTION_TIME:-15d}
- PROMETHEUS_RETENTION_SIZE=${PROMETHEUS_RETENTION_SIZE:-}
user: "65534:65534" # nobody user
user: "65534:65534" # nobody user
deploy:
resources:
limits:
@@ -42,7 +42,15 @@ services:
cpus: ${PROMETHEUS_CPU_RESERVATION:-0.25}
memory: ${PROMETHEUS_MEMORY_RESERVATION:-512M}
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9090/-/healthy"]
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:9090/-/healthy",
]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -1,5 +1,5 @@
# RabbitMQ Version
RABBITMQ_VERSION=4.1.4-management-alpine
RABBITMQ_VERSION=4.2.3-management-alpine
# RabbitMQ credentials
RABBITMQ_DEFAULT_USER=admin

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
rabbitmq:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}rabbitmq:${RABBITMQ_VERSION:-4.1.4-management-alpine}
image: ${GLOBAL_REGISTRY:-}rabbitmq:${RABBITMQ_VERSION:-4.2.3-management-alpine}
volumes:
- rabbitmq_data:/var/lib/rabbitmq
ports: