This commit is contained in:
ls
2024-10-23 18:11:26 +08:00
parent 672735c539
commit 44dfbb4cc1
4 changed files with 100 additions and 71 deletions

View File

@@ -9,10 +9,10 @@ from minio.error import S3Error
minio_public_url = 'http://58.215.212.230:8005/oss/'
# MySQL 连接配置
db_config = {
# 'host': 'physical-mysql',
# 'port': 3306,
'host': '192.168.50.100',
'port': 23306,
'host': 'physical-mysql',
'port': 3306,
# 'host': '192.168.50.100',
# 'port': 23306,
'user': 'root',
'password': '123456',
'database': 'physical-boot'
@@ -20,8 +20,8 @@ db_config = {
# minio 配置
minio_client = Minio(
# "physical-minio:9000", # MinIO服务器地址或IP
"192.168.50.100:29000", # MinIO服务器地址或IP
"physical-minio:9000", # MinIO服务器地址或IP
# "192.168.50.100:29000", # MinIO服务器地址或IP
access_key="root", # 替换为你的Access Key
secret_key="12345678", # 替换为你的Secret Key
secure=False # 如果使用的是http则为False