mirror of
https://github.com/RYDE-WORK/MediaCrawler.git
synced 2026-02-05 08:14:46 +08:00
feat: 增加sqlite配置示例
This commit is contained in:
parent
03ca445221
commit
4f5f83d3fa
@ -7,3 +7,6 @@ REDIS_DB_PWD = os.getenv("REDIS_DB_PWD", "123456") # your redis password
|
|||||||
# mysql config
|
# mysql config
|
||||||
RELATION_DB_PWD = os.getenv("RELATION_DB_PWD", "123456") # your relation db password
|
RELATION_DB_PWD = os.getenv("RELATION_DB_PWD", "123456") # your relation db password
|
||||||
RELATION_DB_URL = f"mysql://root:{RELATION_DB_PWD}@localhost:3306/media_crawler"
|
RELATION_DB_URL = f"mysql://root:{RELATION_DB_PWD}@localhost:3306/media_crawler"
|
||||||
|
|
||||||
|
# sqlite3 config
|
||||||
|
# RELATION_DB_URL = f"sqlite://data/media_crawler.sqlite"
|
||||||
Loading…
x
Reference in New Issue
Block a user