localhost_oa_based/.env

41 lines
731 B
Bash
Raw Normal View History

2024-02-28 08:32:35 +08:00
# app
2024-02-28 11:53:50 +08:00
APP_NAME = Huaxin OA
2024-03-28 12:48:22 +08:00
APP_PORT = 8001
2024-02-28 08:32:35 +08:00
APP_BASE_URL = http://localhost:${APP_PORT}
APP_LOCALE = zh-CN
2024-03-28 12:48:22 +08:00
# cluster
CPU_LEN = 1
2024-02-28 08:32:35 +08:00
# logger
LOGGER_LEVEL = verbose
LOGGER_MAX_FILES = 31
TZ = Asia/Shanghai
2024-02-28 11:53:50 +08:00
# OSS(minio)
2024-03-08 16:24:29 +08:00
OSS_ACCESSKEY=8Zttvx4ZbF2ikFRb
OSS_SECRETKEY=SCgOJEJXM5vMNQL4fF8opXA1wmpACRfw
OSS_PORT=8021
OSS_DOMAIN=144.123.43.138
OSS_DOMAIN_USE_SSL=false
OSS_BUCKET=tes1
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
2024-03-08 16:24:29 +08:00
2024-02-28 08:32:35 +08:00
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
2024-03-08 16:24:29 +08:00
REDIS_DB = 0