diff --git a/README.md b/README.md index d7d07e8..9f3cd6e 100644 --- a/README.md +++ b/README.md @@ -326,7 +326,7 @@ The fastest way to get QuantDinger running. ```bash git clone https://github.com/brokermr810/QuantDinger.git && \ cd QuantDinger && \ -cp docker.env.example backend_api_python/.env && \ +cp backend_api_python/env.example backend_api_python/.env && \ docker-compose up -d --build ``` @@ -334,7 +334,7 @@ docker-compose up -d --build ```powershell git clone https://github.com/brokermr810/QuantDinger.git cd QuantDinger -Copy-Item docker.env.example -Destination backend_api_python\.env +Copy-Item backend_api_python\env.example -Destination backend_api_python\.env docker-compose up -d --build ``` diff --git a/README_CN.md b/README_CN.md index 7546e5f..a5454a3 100644 --- a/README_CN.md +++ b/README_CN.md @@ -365,7 +365,7 @@ QuantDinger 为全球用户构建,提供全面的国际化支持: ```bash git clone https://github.com/brokermr810/QuantDinger.git && \ cd QuantDinger && \ -cp docker.env.example backend_api_python/.env && \ +cp backend_api_python/env.example backend_api_python/.env && \ docker-compose up -d --build ``` @@ -373,7 +373,7 @@ docker-compose up -d --build ```powershell git clone https://github.com/brokermr810/QuantDinger.git cd QuantDinger -Copy-Item docker.env.example -Destination backend_api_python\.env +Copy-Item backend_api_python\env.example -Destination backend_api_python\.env docker-compose up -d --build ``` diff --git a/README_JA.md b/README_JA.md index 415397f..03eb8e7 100644 --- a/README_JA.md +++ b/README_JA.md @@ -321,7 +321,7 @@ QuantDingerを実行する最速の方法です。 ```bash git clone https://github.com/brokermr810/QuantDinger.git && \ cd QuantDinger && \ -cp docker.env.example backend_api_python/.env && \ +cp backend_api_python/env.example backend_api_python/.env && \ docker-compose up -d --build ``` @@ -329,7 +329,7 @@ docker-compose up -d --build ```powershell git clone https://github.com/brokermr810/QuantDinger.git cd QuantDinger -Copy-Item docker.env.example -Destination backend_api_python\.env +Copy-Item backend_api_python\env.example -Destination backend_api_python\.env docker-compose up -d --build ``` diff --git a/README_KO.md b/README_KO.md index 0704ef3..d85cc6a 100644 --- a/README_KO.md +++ b/README_KO.md @@ -334,7 +334,7 @@ QuantDinger를 실행하는 가장 빠른 방법입니다. ```bash git clone https://github.com/brokermr810/QuantDinger.git && \ cd QuantDinger && \ -cp docker.env.example backend_api_python/.env && \ +cp backend_api_python/env.example backend_api_python/.env && \ docker-compose up -d --build ``` @@ -342,7 +342,7 @@ docker-compose up -d --build ```powershell git clone https://github.com/brokermr810/QuantDinger.git cd QuantDinger -Copy-Item docker.env.example -Destination backend_api_python\.env +Copy-Item backend_api_python\env.example -Destination backend_api_python\.env docker-compose up -d --build ``` diff --git a/README_TW.md b/README_TW.md index fdd96e4..c2a8069 100644 --- a/README_TW.md +++ b/README_TW.md @@ -335,7 +335,7 @@ QuantDinger 為全球用戶構建,提供全面的國際化支持: ```bash git clone https://github.com/brokermr810/QuantDinger.git && \ cd QuantDinger && \ -cp docker.env.example backend_api_python/.env && \ +cp backend_api_python/env.example backend_api_python/.env && \ docker-compose up -d --build ``` @@ -343,7 +343,7 @@ docker-compose up -d --build ```powershell git clone https://github.com/brokermr810/QuantDinger.git cd QuantDinger -Copy-Item docker.env.example -Destination backend_api_python\.env +Copy-Item backend_api_python\env.example -Destination backend_api_python\.env docker-compose up -d --build ``` diff --git a/backend_api_python/env.example b/backend_api_python/env.example index 60bda7a..251fa15 100644 --- a/backend_api_python/env.example +++ b/backend_api_python/env.example @@ -82,7 +82,7 @@ PRICE_CACHE_TTL_SEC=10 # ========================= # If you use a local proxy (common ports: 7890/7891/10808), set PROXY_PORT only. # Default scheme is socks5h and host is 127.0.0.1. -# If run docker the PROXY_HOST use : host.docker.internal +# For Docker deployment: set PROXY_HOST=host.docker.internal to access host's proxy PROXY_PORT= PROXY_HOST=127.0.0.1 PROXY_SCHEME=socks5h diff --git a/docker.env.example b/docker.env.example deleted file mode 100644 index 0d11fa5..0000000 --- a/docker.env.example +++ /dev/null @@ -1,79 +0,0 @@ -# QuantDinger Docker Environment Configuration -# Copy this file to .env and modify the settings -# cp docker.env.example backend_api_python/.env - -# ========================= -# Authentication -# ========================= -SECRET_KEY=quantdinger-secret-key-change-me -ADMIN_USER=quantdinger -ADMIN_PASSWORD=123456 - -# ========================= -# Network Configuration -# ========================= -PYTHON_API_HOST=0.0.0.0 -PYTHON_API_PORT=5000 -PYTHON_API_DEBUG=False -CORS_ORIGINS=* - -# ========================= -# OpenRouter / LLM (Required for AI analysis) -# ========================= -OPENROUTER_API_KEY=your-openrouter-api-key -OPENROUTER_API_URL=https://openrouter.ai/api/v1/chat/completions -OPENROUTER_MODEL=openai/gpt-4o -OPENROUTER_TEMPERATURE=0.7 -OPENROUTER_MAX_TOKENS=4000 -OPENROUTER_TIMEOUT=300 - -# ========================= -# Data Source API Keys (fill as needed) -# ========================= -# Finnhub (US stocks / forex) -FINNHUB_API_KEY= - -# Tiingo (optional backup data source) -TIINGO_API_KEY= - -# ========================= -# Notification Settings (optional) -# ========================= -# Telegram -TELEGRAM_BOT_TOKEN= - -# Email / SMTP -SMTP_HOST= -SMTP_PORT=587 -SMTP_USER= -SMTP_PASSWORD= -SMTP_FROM= - -# Twilio SMS -TWILIO_ACCOUNT_SID= -TWILIO_AUTH_TOKEN= -TWILIO_FROM_NUMBER= - -# Webhook -SIGNAL_WEBHOOK_URL= -SIGNAL_WEBHOOK_TOKEN= - -# ========================= -# Strategy Execution Settings -# ========================= -ENABLE_PENDING_ORDER_WORKER=true -STRATEGY_TICK_INTERVAL_SEC=10 - -# ========================= -# Search Engine (optional, for AI analysis) -# ========================= -SEARCH_PROVIDER=google -SEARCH_GOOGLE_API_KEY= -SEARCH_GOOGLE_CX= - -# ========================= -# Proxy Configuration (if network requires) -# ========================= -PROXY_PORT= -PROXY_HOST=127.0.0.1 -PROXY_SCHEME=socks5h