更新 docker-compose.yaml.example

This commit is contained in:
Chenc 2024-07-16 05:36:10 +00:00
parent ce894180bc
commit 9b2d3a8dd3

View File

@ -14,7 +14,7 @@ networks:
services: services:
nodejs: nodejs:
image: ${IMAGE_BASE}/nodejs:18.18.2 image: ${IMAGE_BASE}/nodejs:${NODEJS_VERSION:-18.18.2}
container_name: nodejs container_name: nodejs
environment: environment:
- PACKAGE_PATH=${PACKAGE_PATH} - PACKAGE_PATH=${PACKAGE_PATH}
@ -29,7 +29,7 @@ services:
ipv4_address: ${NET_SUBNET:-10.12.25}.200 ipv4_address: ${NET_SUBNET:-10.12.25}.200
java-gateway: java-gateway:
image: ${IMAGE_BASE}/java_gateway:1.0.1 image: ${IMAGE_BASE}/java_gateway:${JAVAGATEWAY_VERSION:-1.0.1}
container_name: java-gateway container_name: java-gateway
restart: always restart: always
volumes: volumes:
@ -41,7 +41,7 @@ services:
ipv4_address: ${NET_SUBNET:-10.12.25}.201 ipv4_address: ${NET_SUBNET:-10.12.25}.201
elasticsearch: elasticsearch:
image: ${IMAGE_BASE}/elasticsearch:${ELK_VERSION:-7.17.7} image: ${IMAGE_BASE}/elasticsearch:${ELK_VERSION:-7.17.22}
container_name: elasticsearch container_name: elasticsearch
restart: always restart: always
environment: environment:
@ -77,7 +77,7 @@ services:
- redis - redis
openresty: openresty:
image: ${IMAGE_BASE}/openresty:1.21.4.1 image: ${IMAGE_BASE}/openresty:${OPENRESTY_VERSION:-1.25.3.1}
container_name: openresty container_name: openresty
restart: always restart: always
ports: ports:
@ -103,7 +103,7 @@ services:
- net_raw - net_raw
redis: redis:
image: ${IMAGE_BASE}/redis:7.2.2 image: ${IMAGE_BASE}/redis:${REDIS_VERSION:-7.2.5}
container_name: redis container_name: redis
restart: always restart: always
environment: environment:
@ -126,7 +126,7 @@ services:
ipv4_address: ${NET_SUBNET:-10.12.25}.3 ipv4_address: ${NET_SUBNET:-10.12.25}.3
php73: php73:
image: ${IMAGE_BASE}/php:7.3.33 image: ${IMAGE_BASE}/php:${PHP73_VERSION:-7.3.33}
container_name: php73 container_name: php73
restart: always restart: always
volumes: volumes:
@ -156,7 +156,7 @@ services:
- redis - redis
php74: php74:
image: ${IMAGE_BASE}/php:7.4.33 image: ${IMAGE_BASE}/php:${PHP74_VERSION:-7.4.33}
container_name: php74 container_name: php74
restart: always restart: always
volumes: volumes:
@ -185,7 +185,7 @@ services:
- redis - redis
php81: php81:
image: ${IMAGE_BASE}/php:8.1.24 image: ${IMAGE_BASE}/php:${PHP81_VERSION:-8.1.29}
container_name: php81 container_name: php81
restart: always restart: always
volumes: volumes:
@ -215,7 +215,7 @@ services:
condition: service_healthy condition: service_healthy
php83: php83:
image: ${IMAGE_BASE}/php:8.3.0 image: ${IMAGE_BASE}/php:${PHP81_VERSION:-8.3.8}
container_name: php83 container_name: php83
restart: always restart: always
volumes: volumes: