easyai/.env.tools.sample

46 lines
1.2 KiB
Plaintext
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.

# ============================================
# OSS/S3 配置(可选)
# 如果不配置PDF解析功能仍可使用但图片不会上传到OSS
# ============================================
# S3兼容的OSS端点URL
# 示例:
# - AWS S3: https://s3.amazonaws.com
# - 阿里云OSS: https://oss-cn-hangzhou.aliyuncs.com
# - 腾讯云COS: https://cos.ap-beijing.myqcloud.com
# - MinIO: http://localhost:9000
OSS_ENDPOINT=
# OSS访问密钥IDAccess Key ID
OSS_ACCESS_KEY_ID=
# OSS访问密钥SecretAccess Key Secret
OSS_ACCESS_KEY_SECRET=
# OSS存储桶名称Bucket Name
OSS_BUCKET=
# OSS区域Region可选默认为us-east-1
# 示例:
# - AWS: us-east-1, eu-west-1
# - 阿里云: oss-cn-hangzhou, oss-cn-beijing
# - 腾讯云: ap-beijing, ap-shanghai
OSS_REGION=us-east-1
# 自定义域名可选如果设置将使用此域名返回文件URL
# 如果不设置,将使用 OSS_ENDPOINT
# 通常用于CDN加速域名
# 示例https://cdn.example.com
OSS_DOMAIN=
# ============================================
# 应用配置(可选)
# ============================================
# 应用端口默认8000
# PORT=8000
# 应用主机默认0.0.0.0
# HOST=0.0.0.0