diff --git a/.github/workflows/docker-delete.yml b/.github/workflows/docker-delete.yml index ce74d48..058b087 100644 --- a/.github/workflows/docker-delete.yml +++ b/.github/workflows/docker-delete.yml @@ -10,6 +10,12 @@ jobs: runs-on: ubuntu-latest steps: + - name: Log in to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Delete Docker image run: | TAG_NAME="${{ github.event.release.tag_name }}" diff --git a/README.md b/README.md index b28130b..e93f602 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ [![GitHub](https://img.shields.io/badge/GitHub-WrBug%2FPolyHermes-blue?logo=github)](https://github.com/WrBug/PolyHermes) [![Twitter](https://img.shields.io/badge/Twitter-@quant__tr-blue?logo=twitter)](https://x.com/quant_tr) +> 🌐 **Language**: [English](README_EN.md) | 中文 + 一个功能强大的 Polymarket 预测市场跟单交易系统,支持自动化跟单、多账户管理、实时订单推送和统计分析。 --- diff --git a/README_EN.md b/README_EN.md index fb99a8f..6498642 100644 --- a/README_EN.md +++ b/README_EN.md @@ -3,6 +3,8 @@ [![GitHub](https://img.shields.io/badge/GitHub-WrBug%2FPolyHermes-blue?logo=github)](https://github.com/WrBug/PolyHermes) [![Twitter](https://img.shields.io/badge/Twitter-@quant__tr-blue?logo=twitter)](https://x.com/quant_tr) +> 🌐 **Language**: English | [中文](README.md) + A powerful copy trading system for Polymarket prediction markets, supporting automated copy trading, multi-account management, real-time order push, and statistical analysis. --- diff --git a/docker-compose.prod.env.example b/docker-compose.prod.env.example index bbef8f3..3531365 100644 --- a/docker-compose.prod.env.example +++ b/docker-compose.prod.env.example @@ -35,15 +35,11 @@ POLYGON_RPC_URL=https://polygon-rpc.com # ============================================ # 安全配置(⚠️ 必须修改,不能使用默认值) # ============================================ -# 生成随机密钥命令: -# openssl rand -hex 32 # 用于 ADMIN_RESET_PASSWORD_KEY -# openssl rand -hex 64 # 用于 JWT_SECRET - -JWT_SECRET=your-jwt-secret-key-here-change-in-production -ADMIN_RESET_PASSWORD_KEY=your-admin-reset-key-here-change-in-production +JWT_SECRET=change-me-in-production +ADMIN_RESET_PASSWORD_KEY=change-me-in-production # ============================================ -# 加密密钥(可选,用于加密存储私钥和 API Key) +# 加密密钥(用于加密存储私钥和 API Key) # ============================================ -# CRYPTO_SECRET_KEY=your-crypto-secret-key-here +CRYPTO_SECRET_KEY=change-me-in-production