Files
certificate-system/.env.example

17 lines
514 B
Plaintext
Raw Permalink 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.
APP_ENV=development
DATABASE_URL=mysql+pymysql://certificate:certificate@mysql:3306/certificate_system
SECRET_KEY=change-me
PUBLIC_BASE_URL=http://localhost:8080
CERTIFICATE_NO_SECRET=change-me
PDF_CACHE_DAYS=30
PDF_CLEANUP_DAYS=5
DATA_ROOT=/data/certificate-system
CORS_ORIGINS=http://localhost:5173,http://localhost:8080
# local=本地测试验证码打印到后端日志aliyun=阿里云短信
SMS_MODE=local
ALIYUN_ACCESS_KEY_ID=
ALIYUN_ACCESS_KEY_SECRET=
ALIYUN_SMS_SIGN_NAME=
ALIYUN_SMS_TEMPLATE_CODE=