mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-03-02 12:10:46 +08:00
feat(database): add PostgreSQL support and fix Windows subprocess encoding
This commit is contained in:
46
.env.example
Normal file
46
.env.example
Normal file
@@ -0,0 +1,46 @@
|
||||
# MySQL Configuration
|
||||
MYSQL_DB_PWD=123456
|
||||
MYSQL_DB_USER=root
|
||||
MYSQL_DB_HOST=localhost
|
||||
MYSQL_DB_PORT=3306
|
||||
MYSQL_DB_NAME=media_crawler
|
||||
|
||||
# Redis Configuration
|
||||
REDIS_DB_HOST=127.0.0.1
|
||||
REDIS_DB_PWD=123456
|
||||
REDIS_DB_PORT=6379
|
||||
REDIS_DB_NUM=0
|
||||
|
||||
# MongoDB Configuration
|
||||
MONGODB_HOST=localhost
|
||||
MONGODB_PORT=27017
|
||||
MONGODB_USER=
|
||||
MONGODB_PWD=
|
||||
MONGODB_DB_NAME=media_crawler
|
||||
|
||||
# PostgreSQL Configuration
|
||||
POSTGRES_DB_PWD=123456
|
||||
POSTGRES_DB_USER=postgres
|
||||
POSTGRES_DB_HOST=localhost
|
||||
POSTGRES_DB_PORT=5432
|
||||
POSTGRES_DB_NAME=media_crawler
|
||||
|
||||
# Proxy Configuration (Wandou HTTP)
|
||||
# your_wandou_http_app_key
|
||||
WANDOU_APP_KEY=
|
||||
|
||||
# Proxy Configuration (Kuaidaili)
|
||||
# your_kuaidaili_secret_id
|
||||
KDL_SECERT_ID=
|
||||
# your_kuaidaili_signature
|
||||
KDL_SIGNATURE=
|
||||
# your_kuaidaili_username
|
||||
KDL_USER_NAME=
|
||||
# your_kuaidaili_password
|
||||
KDL_USER_PWD=
|
||||
|
||||
# Proxy Configuration (Jisu HTTP)
|
||||
# Get JiSu HTTP IP extraction key value
|
||||
jisu_key=
|
||||
# Get JiSu HTTP IP extraction encryption signature
|
||||
jisu_crypto=
|
||||
Reference in New Issue
Block a user