签入版本

This commit is contained in:
2026-09-28 18:51:35 +08:00
commit ab0f064ea6
2692 changed files with 354751 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
version: '3.7'
# 应用服务
services:
# 服务名称
xiaomayi-elevue:
# 镜像名称
image: xiaomayi-elevue
# 容器名称
container_name: xiaomayi-elevue
# 构建镜像
build:
context: ./
dockerfile: Dockerfile
# 将容器运行在特权模式下,意味着容器内的进程将具
# 有访问宿主机的权限,包括文件系统、设备和系统功能等
privileged: true
# 指定容器中运行的用户
user: root
# 启动策略为始终重启
restart: always
# 设置网络模式为host模式
network_mode: host
# 端口映射
ports:
- 8081:8081
# 文件挂载
volumes:
- ./logs:/data/java/logs
- ./upload:/data/java/uploads
# 日志配置
logging:
driver: "json-file"
options:
max-size: "500m"
max-file: "10"