2025-09-01 23:44:57 +08:00

41 lines
956 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SQL Server 2022 Linux Docker Compose 环境变量配置
# SQL Server 配置
# 端口配置
SQLSERVER_PORT=1433
SQLSERVER_WEB_PORT=8080
# 认证配置
# SA用户密码请修改为强密码
SQLSERVER_SA_PASSWORD=YourStrong@Password123!
# SQL Server 版本配置
# 可选值: Developer, Express, Standard, Enterprise, EnterpriseCore
# Developer: 免费开发版本
# Express: 免费轻量版本
# Standard: 标准版
# Enterprise: 企业版
SQLSERVER_EDITION=Developer
# 时区配置
TZ=Asia/Shanghai
# 资源限制配置
# CPU限制核心数
SQLSERVER_CPU_LIMIT=4.0
SQLSERVER_CPU_RESERVATION=2.0
# 内存限制GB
SQLSERVER_MEMORY_LIMIT=8g
SQLSERVER_MEMORY_RESERVATION=4g
# 数据目录配置
SQLSERVER_DATA_DIR=./sqlserver/data
SQLSERVER_LOG_DIR=./sqlserver/logs
SQLSERVER_BACKUP_DIR=./sqlserver/backup
SQLSERVER_INIT_DIR=./sqlserver/init
# 网络配置
SQLSERVER_NETWORK_SUBNET=172.24.0.0/16
SQLSERVER_NETWORK_GATEWAY=172.24.0.1