Skip to content

Commit 34718e3

Browse files
author
cli
committed
perf: 移除container_name, 使用默认的 $projectName + $serviceName + 1 的形式
不写死容器名, 可以方便启动多个组合的compose, 方便测试examples中各各组合的效果
1 parent 5d71cc4 commit 34718e3

File tree

12 files changed

+0
-16
lines changed

12 files changed

+0
-16
lines changed

bus/compose.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
gateway_808_2019:
33
image: transcodegroup/gateway-808-2019:${BUS_GATEWAY_808_2019_VERSION:?required}
4-
container_name: gateway_808_2019
54
restart: always
65
volumes:
76
- ${DATA_DIR:-/data}/files:/data/files
@@ -54,7 +53,6 @@ services:
5453
# spring-boot后端
5554
gateway_web:
5655
image: transcodegroup/gateway-web:${BUS_GATEWAY_VERSION:?required}
57-
container_name: gateway_web
5856
restart: always
5957
volumes:
6058
- ${DATA_DIR:-/data}/files:/data/files
@@ -105,7 +103,6 @@ services:
105103
# spring-boot调度
106104
gateway_dispatch:
107105
image: transcodegroup/gateway-dispatch:${BUS_GATEWAY_VERSION:?required}
108-
container_name: gateway_dispatch
109106
restart: always
110107
volumes:
111108
- ${DATA_DIR:-/data}/files:/data/files
@@ -153,7 +150,6 @@ services:
153150
# 主动安全
154151
gateway_jsatl12:
155152
image: transcodegroup/gateway-jsatl12:${BUS_GATEWAY_JSATL12_VERSION:?required}
156-
container_name: gateway_jsatl12
157153
restart: always
158154
ports:
159155
- ${JTT808_PORT_FILE}:${JTT808_PORT_FILE}

jtt808/compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
jtt808:
33
image: transcodegroup/jtt808-server:${TRACK_JTT808_VERSION:?required}
4-
container_name: jtt808_server
54
restart: always
65
ports:
76
- ${JTT808_PORT}:${JTT808_PORT}

maintain/compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
maintain:
33
image: transcodegroup/maintain-server:${TRACK_MAINTAIN_VERSION:?required}
4-
container_name: maintain
54
restart: always
65
volumes:
76
- /etc/localtime:/etc/localtime

minio/compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
minio:
33
image: minio/minio:RELEASE.2024-08-03T04-33-23Z
4-
container_name: minio
54
restart: always
65
ports:
76
# 原生端口是9000和9001, 规避RTP服务端口冲突, 所以-1000

mongodb/compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
services:
22
mongodb:
3-
container_name: mongodb
43
image: mongo
54
restart: always
65
privileged: true

mysql-backup/compose.cbus.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
mysql-cron-backup-cbus:
33
image: fradelg/mysql-cron-backup
4-
container_name: mysql-cron-backup-cbus
54
volumes:
65
- "${DATA_DIR:-/data}/mysql8/backup:/backup"
76
environment:

mysql-backup/compose.maintain.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
mysql-cron-backup-maintain:
33
image: fradelg/mysql-cron-backup
4-
container_name: mysql-cron-backup-maintain
54
volumes:
65
- "${DATA_DIR:-/data}/mysql8/backup:/backup"
76
environment:

mysql8/compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ services:
33
image: mysql:8.4
44
# 国内拦了 用加速站
55
#image: docker.m.daocloud.io/mysql:8.4
6-
container_name: mysql8
76
restart: always
87
ports:
98
- ${MYSQL_PORT:-3306}:3306

nginx/compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
nginx:
33
image: nginx:1.27.4
4-
container_name: nginx
54
restart: always
65
ports:
76
- ${WEB_PORT_HTTPS:-443}:443

rabbitmq/compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
rabbitmq:
33
image: rabbitmq:management
4-
container_name: rabbitmq
54
restart: always
65
ports:
76
# 加密的 AMQP 协议端口

0 commit comments

Comments
 (0)