This commit is contained in:
gitadmin
2026-09-11 11:31:14 +08:00
parent 9437f0bb56
commit 723f3a9af7
2 changed files with 199 additions and 11 deletions
+108
View File
@@ -84,6 +84,33 @@ services:
options:
max-size: "500m"
max-file: "10"
# 后端服务
django_naivevue:
# 镜像名称
image: ${DOCKER_REGISTRY_URL}/djangoadmin/${SERVER_NAME}:${VERSION:-latest}
# 容器名称
container_name: ${SERVER_NAME}
# 将容器运行在特权模式下,意味着容器内的进程将具
# 有访问宿主机的权限,包括文件系统、设备和系统功能等
privileged: true
# 指定容器中运行的用户
user: root
# 启动策略为始终重启
restart: always
# 设置网络模式为host模式
network_mode: host
# 端口映射
ports:
- 8019:8019
# 文件挂载
volumes:
- $PWD/${SERVER_NAME}/uploads:/data/apps/uploads
# 日志配置
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "10"
# 网关服务
flask_layui:
# 镜像名称
@@ -165,6 +192,33 @@ services:
options:
max-size: "500m"
max-file: "10"
# 后端服务
flask_naivevue:
# 镜像名称
image: ${DOCKER_REGISTRY_URL}/djangoadmin/${SERVER_NAME}:${VERSION:-latest}
# 容器名称
container_name: ${SERVER_NAME}
# 将容器运行在特权模式下,意味着容器内的进程将具
# 有访问宿主机的权限,包括文件系统、设备和系统功能等
privileged: true
# 指定容器中运行的用户
user: root
# 启动策略为始终重启
restart: always
# 设置网络模式为host模式
network_mode: host
# 端口映射
ports:
- 8029:8029
# 文件挂载
volumes:
- $PWD/${SERVER_NAME}/uploads:/data/apps/uploads
# 日志配置
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "10"
# 应用服务
fastapi_layui:
# 镜像名称
@@ -246,6 +300,33 @@ services:
options:
max-size: "500m"
max-file: "10"
# 后端服务
fastapi_naivevue:
# 镜像名称
image: ${DOCKER_REGISTRY_URL}/djangoadmin/${SERVER_NAME}:${VERSION:-latest}
# 容器名称
container_name: ${SERVER_NAME}
# 将容器运行在特权模式下,意味着容器内的进程将具
# 有访问宿主机的权限,包括文件系统、设备和系统功能等
privileged: true
# 指定容器中运行的用户
user: root
# 启动策略为始终重启
restart: always
# 设置网络模式为host模式
network_mode: host
# 端口映射
ports:
- 8039:8039
# 文件挂载
volumes:
- $PWD/${SERVER_NAME}/uploads:/data/apps/uploads
# 日志配置
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "10"
# 应用服务
tornado_layui:
# 镜像名称
@@ -327,3 +408,30 @@ services:
options:
max-size: "500m"
max-file: "10"
# 后端服务
tornado_naivevue:
# 镜像名称
image: ${DOCKER_REGISTRY_URL}/djangoadmin/${SERVER_NAME}:${VERSION:-latest}
# 容器名称
container_name: ${SERVER_NAME}
# 将容器运行在特权模式下,意味着容器内的进程将具
# 有访问宿主机的权限,包括文件系统、设备和系统功能等
privileged: true
# 指定容器中运行的用户
user: root
# 启动策略为始终重启
restart: always
# 设置网络模式为host模式
network_mode: host
# 端口映射
ports:
- 8049:8049
# 文件挂载
volumes:
- $PWD/${SERVER_NAME}/uploads:/data/apps/uploads
# 日志配置
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "10"
+91 -11
View File
@@ -392,11 +392,11 @@ branchConfig:
# 服务配置 - 定义每个微服务的特定配置
# ==============================================================================
serviceConfig:
django_layui2:
django_layui:
programLang: "python"
programLangVersion: "3.9.13"
containerName: "django_layui2"
packageName: "django_layui2"
containerName: "django_layui"
packageName: "django_layui"
servicePath: "."
pyFile: "manage.py"
port: "8010"
@@ -419,7 +419,7 @@ serviceConfig:
projectName: "django_elevue"
containerName: "django_elevue"
packageName: "django_elevue.tar.gz"
servicePath: "evui"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
django_antdvue:
@@ -439,7 +439,27 @@ serviceConfig:
projectName: "django_antdvue"
containerName: "django_antdvue"
packageName: "django_antdvue.tar.gz"
servicePath: "avui"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
django_naivevue:
programLang: "python"
programLangVersion: "3.9.13"
containerName: "django_naivevue"
packageName: "django_naivevue"
servicePath: "."
pyFile: "manage"
port: "8019"
deployServer: "servers[0]"
composeFile: "python-docker-compose"
django_naivevue_ui:
programLang: "nodejs"
programLangVersion: "22.19.0"
deployMethod: "static"
projectName: "django_naivevue"
containerName: "django_naivevue"
packageName: "django_naivevue.tar.gz"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
flask_layui:
@@ -469,7 +489,7 @@ serviceConfig:
projectName: "flask_elevue"
containerName: "flask_elevue"
packageName: "flask_elevue.tar.gz"
servicePath: "evui"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
flask_antdvue:
@@ -489,7 +509,27 @@ serviceConfig:
projectName: "flask_antdvue"
containerName: "flask_antdvue"
packageName: "flask_antdvue.tar.gz"
servicePath: "avui"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
flask_naivevue:
programLang: "python"
programLangVersion: "3.9.13"
containerName: "flask_naivevue"
packageName: "flask_naivevue"
servicePath: "."
pyFile: "app"
port: "8029"
deployServer: "servers[0]"
composeFile: "python-docker-compose"
flask_naivevue_ui:
programLang: "nodejs"
programLangVersion: "22.19.0"
deployMethod: "static"
projectName: "flask_naivevue"
containerName: "flask_naivevue"
packageName: "flask_naivevue.tar.gz"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
fastapi_layui:
@@ -519,7 +559,7 @@ serviceConfig:
projectName: "fastapi_elevue"
containerName: "fastapi_elevue"
packageName: "fastapi_elevue.tar.gz"
servicePath: "evui"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
fastapi_antdvue:
@@ -539,7 +579,27 @@ serviceConfig:
projectName: "fastapi_antdvue"
containerName: "fastapi_antdvue"
packageName: "fastapi_antdvue.tar.gz"
servicePath: "avui"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
fastapi_naivevue:
programLang: "python"
programLangVersion: "3.9.13"
containerName: "fastapi_naivevue"
packageName: "fastapi_naivevue"
servicePath: "."
pyFile: "main"
port: "8039"
deployServer: "servers[0]"
composeFile: "python-docker-compose"
fastapi_naivevue_ui:
programLang: "nodejs"
programLangVersion: "22.19.0"
deployMethod: "static"
projectName: "fastapi_naivevue"
containerName: "fastapi_naivevue"
packageName: "fastapi_naivevue.tar.gz"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
tornado_layui:
@@ -569,7 +629,7 @@ serviceConfig:
projectName: "tornado_elevue"
containerName: "tornado_elevue"
packageName: "tornado_elevue.tar.gz"
servicePath: "evui"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
tornado_antdvue:
@@ -589,7 +649,27 @@ serviceConfig:
projectName: "tornado_antdvue"
containerName: "tornado_antdvue"
packageName: "tornado_antdvue.tar.gz"
servicePath: "avui"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"
tornado_naivevue:
programLang: "python"
programLangVersion: "3.9.13"
containerName: "tornado_naivevue"
packageName: "tornado_naivevue"
servicePath: "."
pyFile: "app"
port: "8049"
deployServer: "servers[0]"
composeFile: "python-docker-compose"
tornado_naivevue_ui:
programLang: "nodejs"
programLangVersion: "22.19.0"
deployMethod: "static"
projectName: "tornado_naivevue"
containerName: "tornado_naivevue"
packageName: "tornado_naivevue.tar.gz"
servicePath: "ui"
port: "8001"
deployServer: "servers[0]"