資料庫改為 mySQL
This commit is contained in:
25
env.mysql.example
Normal file
25
env.mysql.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# MySQL 資料庫配置範例
|
||||
# 請將此檔案複製為 .env.local 並確保資料庫連接正常
|
||||
|
||||
# MySQL 資料庫連接
|
||||
DATABASE_URL="mysql://wish_pool:Aa123456@mysql.theaken.com:33306/db_wish_pool?schema=public"
|
||||
|
||||
# 應用程式配置
|
||||
NEXT_PUBLIC_APP_NAME="資訊部.心願星河"
|
||||
NEXT_PUBLIC_APP_VERSION="1.0.0"
|
||||
|
||||
# 功能開關
|
||||
ENABLE_IP_WHITELIST=false
|
||||
ALLOWED_IPS=""
|
||||
|
||||
# 音效配置
|
||||
NEXT_PUBLIC_ENABLE_SOUND=true
|
||||
NEXT_PUBLIC_DEFAULT_VOLUME=0.3
|
||||
|
||||
# 分析配置
|
||||
NEXT_PUBLIC_ENABLE_ANALYTICS=true
|
||||
NEXT_PUBLIC_MAX_IMAGES_PER_WISH=5
|
||||
|
||||
# 安全配置
|
||||
NEXT_PUBLIC_MAX_CONTENT_LENGTH=10000
|
||||
NEXT_PUBLIC_ENABLE_CONTENT_MODERATION=true
|
||||
Reference in New Issue
Block a user