Enhance MongoDB to ClickHouse synchronization script by adding support for custom time range synchronization, allowing users to specify start and end dates. Update .env file to include MongoDB connection URL and add .gitignore for script dependencies.

This commit is contained in:
2025-04-24 00:09:24 +08:00
parent 92db5ad783
commit fe40aad835
5 changed files with 858 additions and 19 deletions

4
.env
View File

@@ -1,5 +1,7 @@
PORT=3007
MONGO_URL="mongodb://10.0.1.41:27017"
# ClickHouse Configuration
CLICKHOUSE_HOST=10.0.1.60
CLICKHOUSE_PORT=8123
@@ -26,4 +28,4 @@ DATABASE_URL="postgresql://postgres.mwwvqwevplndzvmqmrxa:eYYdarJsRL*Z6&p9gD@aws-
NEXT_PUBLIC_LIMQ_API="https://app.upj.to"
# Application URL for redirects (replace with your production URL)
NEXT_PUBLIC_SITE_URL="https://main.upj.to/login"
NEXT_PUBLIC_SITE_URL="https://main.upj.to"