2024-02-28 08:32:35 +08:00
|
|
|
# app
|
2024-02-28 11:53:50 +08:00
|
|
|
APP_NAME = Huaxin OA
|
2024-02-28 08:32:35 +08:00
|
|
|
APP_PORT = 7001
|
|
|
|
APP_BASE_URL = http://localhost:${APP_PORT}
|
|
|
|
APP_LOCALE = zh-CN
|
|
|
|
|
|
|
|
# logger
|
|
|
|
LOGGER_LEVEL = verbose
|
|
|
|
LOGGER_MAX_FILES = 31
|
|
|
|
|
|
|
|
TZ = Asia/Shanghai
|
|
|
|
|
2024-02-28 11:53:50 +08:00
|
|
|
# OSS(minio)
|
2024-02-28 08:32:35 +08:00
|
|
|
OSS_ACCESSKEY=xxx
|
|
|
|
OSS_SECRETKEY=xxx
|
|
|
|
OSS_DOMAIN=https://cdn.buqiyuan.site
|
2024-02-28 11:53:50 +08:00
|
|
|
OSS_BUCKET=hxoa
|
2024-02-28 08:32:35 +08:00
|
|
|
OSS_ZONE=Zone_z2 # Zone_as0 | Zone_na0 | Zone_z0 | Zone_z1 | Zone_z2
|
|
|
|
OSS_ACCESS_TYPE=public # or private
|
|
|
|
|
|
|
|
DB_HOST = host.docker.internal
|
|
|
|
DB_PORT = 13307
|
2024-02-28 11:53:50 +08:00
|
|
|
DB_DATABASE = hxoa
|
2024-02-28 08:32:35 +08:00
|
|
|
DB_USERNAME = root
|
2024-02-28 11:53:50 +08:00
|
|
|
DB_PASSWORD = huaxin123
|
2024-02-28 08:32:35 +08:00
|
|
|
DB_SYNCHRONIZE = false
|
|
|
|
DB_LOGGING = ["error"]
|
|
|
|
|
|
|
|
REDIS_PORT = 6379
|
|
|
|
REDIS_HOST = host.docker.internal
|
|
|
|
REDIS_PASSWORD = 123456
|
|
|
|
REDIS_DB = 0
|