forked from DevOps/deploy.stack
chore(dbSer): 更新数据库镜像标签并清理配置
- 删除误提交的 env.cfg(couchdb、ntfy) - dbs-dev/dbs 栈镜像统一改为 latest 并清理行尾空白 - mysql 环境变量重命名为 IMAGE_TAG_LATEST 并更新版本 - 更新 loki、grafana、haproxy、ntfy、traefik 镜像版本 - postgres.yml 修正 latest 拼写错误
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
IMAGE_TAG=couchdb:3.5
|
|
||||||
COUCHDB_PORT=5984
|
|
||||||
COUCHDB_USER=your_custom_user
|
|
||||||
COUCHDB_PASSWORD=your_strong_password
|
|
||||||
Volumes_Path=/data/volumes/couchdb
|
|
||||||
@@ -1,9 +1,8 @@
|
|||||||
# docker compose -p dbs -f ./dbSer/dbs-dev.stack.yaml up -d
|
# docker compose -p dbs -f ./dbSer/dbs-dev.stack.yaml up -d
|
||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:6-alpine
|
image: redis:latest
|
||||||
container_name: Dev-Redis
|
container_name: Dev-Redis
|
||||||
restart: always
|
restart: always
|
||||||
command: "--requirepass Kevin#0412&Redis"
|
command: "--requirepass Kevin#0412&Redis"
|
||||||
@@ -16,7 +15,7 @@ services:
|
|||||||
ipv4_address: 172.22.10.205
|
ipv4_address: 172.22.10.205
|
||||||
|
|
||||||
percona:
|
percona:
|
||||||
image: percona:8.0.35-27
|
image: percona:latest
|
||||||
container_name: Dev-Percona
|
container_name: Dev-Percona
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -31,7 +30,7 @@ services:
|
|||||||
ipv4_address: 172.22.10.206
|
ipv4_address: 172.22.10.206
|
||||||
|
|
||||||
etcd:
|
etcd:
|
||||||
image: quay.io/coreos/etcd:v3.5.0
|
image: quay.io/coreos/etcd:latest
|
||||||
container_name: Dev-Etcd
|
container_name: Dev-Etcd
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
@@ -48,7 +47,7 @@ services:
|
|||||||
- --advertise-client-urls=http://0.0.0.0:2379
|
- --advertise-client-urls=http://0.0.0.0:2379
|
||||||
|
|
||||||
postgre:
|
postgre:
|
||||||
image: postgres:16.2-bookworm
|
image: postgres:latest
|
||||||
container_name: Dev-postgre
|
container_name: Dev-postgre
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -60,9 +59,9 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
DevNet:
|
DevNet:
|
||||||
ipv4_address: 172.22.10.208
|
ipv4_address: 172.22.10.208
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
image: mongo:5.0
|
image: mongo:latest
|
||||||
restart: always
|
restart: always
|
||||||
container_name: "Dev-Mongo"
|
container_name: "Dev-Mongo"
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: '3.8'
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
mongo4.4:
|
mongo4.4:
|
||||||
@@ -17,7 +17,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
dbs-net:
|
dbs-net:
|
||||||
ipv4_address: 172.25.0.219
|
ipv4_address: 172.25.0.219
|
||||||
|
|
||||||
redis5:
|
redis5:
|
||||||
image: hub.node:3500/redis:5-alpine
|
image: hub.node:3500/redis:5-alpine
|
||||||
container_name: "Dev-redis5"
|
container_name: "Dev-redis5"
|
||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
ipv4_address: 172.25.0.209
|
ipv4_address: 172.25.0.209
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
|
|
||||||
mysql8:
|
mysql8:
|
||||||
image: hub.node:3500/percona:8
|
image: hub.node:3500/percona:8
|
||||||
container_name: "Dev-percona8"
|
container_name: "Dev-percona8"
|
||||||
@@ -45,7 +45,7 @@ services:
|
|||||||
dbs-net:
|
dbs-net:
|
||||||
ipv4_address: 172.25.0.251
|
ipv4_address: 172.25.0.251
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mongo_config:
|
mongo_config:
|
||||||
@@ -62,4 +62,4 @@ networks:
|
|||||||
ipam:
|
ipam:
|
||||||
driver: default
|
driver: default
|
||||||
config:
|
config:
|
||||||
- subnet: 172.25.0.0/24
|
- subnet: 172.25.0.0/24
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
etcd:
|
etcd:
|
||||||
image: quay.io/coreos/etcd:v3.5.0
|
image: quay.io/coreos/etcd:latest
|
||||||
container_name: Dev-Etcd
|
container_name: Dev-Etcd
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
@@ -17,4 +17,4 @@ services:
|
|||||||
- --advertise-client-urls=http://0.0.0.0:2379
|
- --advertise-client-urls=http://0.0.0.0:2379
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
etcd-data:
|
etcd-data:
|
||||||
|
|||||||
@@ -8,6 +8,6 @@
|
|||||||
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
||||||
# docker compose -p loki --env-file ./env.cfg -f ./stack.yml up -d
|
# docker compose -p loki --env-file ./env.cfg -f ./stack.yml up -d
|
||||||
#
|
#
|
||||||
IMAGE_TAG=3.6.2
|
IMAGE_TAG=3.7.7
|
||||||
|
|
||||||
IMAGE_NAME=grafana/loki:${IMAGE_TAG}
|
IMAGE_NAME=grafana/loki:${IMAGE_TAG}
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
mongo:
|
mongo:
|
||||||
image: mongo:5.0
|
image: mongo:latest
|
||||||
restart: always
|
restart: always
|
||||||
container_name: "Dev-Mongo"
|
container_name: "Dev-Mongo"
|
||||||
environment:
|
environment:
|
||||||
@@ -17,4 +17,4 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mongo_data:
|
mongo_data:
|
||||||
mongo_configdb:
|
mongo_configdb:
|
||||||
|
|||||||
@@ -13,13 +13,13 @@
|
|||||||
# ============================================================
|
# ============================================================
|
||||||
# 密码为生成的密码,请使用时修改后再部署
|
# 密码为生成的密码,请使用时修改后再部署
|
||||||
|
|
||||||
IMAGE_TAG=mysql:8.4
|
IMAGE_TAG_V8=mysql:8.4.11
|
||||||
|
|
||||||
IMAGE_TAG_V9=mysql:9.7
|
IMAGE_TAG_V9=mysql:9.7.2
|
||||||
|
|
||||||
IMAGE_TAG_V8=mysql:8.0
|
IMAGE_TAG_LATEST=mysql:26.7.0
|
||||||
|
|
||||||
IMAGE_TAG_LTS=mysql:8.4
|
IMAGE_TAG_LTS=${IMAGE_TAG_LATEST}
|
||||||
|
|
||||||
MYSQL_ROOT_PASSWORD=<your-strong-password>
|
MYSQL_ROOT_PASSWORD=<your-strong-password>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
mysql:
|
mysql:
|
||||||
image: ${IMAGE_TAG_V9}
|
## 使用最新的 MySQL 镜像, 如果需要指定版本, 请修改 IMAGE_TAG_LATEST 环境变量
|
||||||
|
image: ${IMAGE_TAG_LATEST}
|
||||||
container_name: Dev-MySQL
|
container_name: Dev-MySQL
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
percona:
|
percona:
|
||||||
image: percona:8.0.35-27
|
image: percona:latest
|
||||||
container_name: Dev-Percona
|
container_name: Dev-Percona
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -16,4 +16,4 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
percona_data:
|
percona_data:
|
||||||
percona_logs:
|
percona_logs:
|
||||||
|
|||||||
+2
-2
@@ -3,7 +3,7 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16.2-bookworm
|
image: postgres:lastest
|
||||||
container_name: Dev-postgre
|
container_name: Dev-postgre
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
@@ -20,4 +20,4 @@ services:
|
|||||||
ipv4_address: 172.22.10.208
|
ipv4_address: 172.22.10.208
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgresql_data:
|
postgresql_data:
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:7.2.4-alpine
|
image: redis:latest
|
||||||
container_name: Dev-Redis
|
container_name: Dev-Redis
|
||||||
restart: always
|
restart: always
|
||||||
command: "--requirepass Kevin#0412&Redis"
|
command: "--requirepass Kevin#0412&Redis"
|
||||||
|
|||||||
@@ -8,6 +8,6 @@
|
|||||||
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
||||||
# docker compose -p grafana --env-file ./env.cfg -f ./stack.yml up -d
|
# docker compose -p grafana --env-file ./env.cfg -f ./stack.yml up -d
|
||||||
#
|
#
|
||||||
IMAGE_TAG_VER=13.0.2
|
IMAGE_TAG_VER=13.2.1
|
||||||
|
|
||||||
IMAGE_TAG=grafana/grafana:${IMAGE_TAG_VER}
|
IMAGE_TAG=grafana/grafana:${IMAGE_TAG_VER}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
||||||
# docker compose -p haproxy --env-file ./env.cfg -f ./stack.yml up -d
|
# docker compose -p haproxy --env-file ./env.cfg -f ./stack.yml up -d
|
||||||
#
|
#
|
||||||
IMAGE_TAG_VER=3.3.0
|
IMAGE_TAG_VER=3.4.4
|
||||||
|
|
||||||
IMAGE_TAG_DEV=3.4-dev
|
IMAGE_TAG_DEV=3.4-dev
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
IMAGE_TAG_VER=v2.15
|
|
||||||
IMAGE_TAG=binwiederhier/ntfy:${IMAGE_TAG_VER}
|
|
||||||
Volumes_Path=/data/volumes/ntfy
|
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
IMAGE_TAG_VER=v2.24
|
IMAGE_TAG_VER=v2.28.0
|
||||||
|
|
||||||
IMAGE_TAG=binwiederhier/ntfy:${IMAGE_TAG_VER}
|
IMAGE_TAG=binwiederhier/ntfy:${IMAGE_TAG_VER}
|
||||||
|
|
||||||
|
|||||||
@@ -12,4 +12,4 @@ IMAGE_TAG_V3=traefik:v3.7.13
|
|||||||
|
|
||||||
IMAGE_TAG_V2=traefik:v2.11.29
|
IMAGE_TAG_V2=traefik:v2.11.29
|
||||||
|
|
||||||
IMAGE_TAG_LATEST=traefik:latest
|
IMAGE_TAG_LATEST=${IMAGE_TAG_V3}
|
||||||
|
|||||||
Reference in New Issue
Block a user