Created
December 2, 2024 09:35
-
-
Save ayenisholah/17c37d1c609f4122e45ce0c7d02dad0f to your computer and use it in GitHub Desktop.
NFT Bidding Bot: Multi-marketplace (OpenSea, Blur, MagicEden) automation system. Features: real-time WebSocket bidding, distributed queue (BullMQ), trait/collection strategies, auto-outbid. Stack: TypeScript/Express, Redis, MongoDB. Includes health monitoring & secure key management.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| server: | |
| image: ayenisholah/bidding-bot-server:latest | |
| platform: linux/amd64 | |
| restart: always | |
| ports: | |
| - "3003:3003" | |
| environment: | |
| - MONGODB_URI=mongodb://mongodb:27017/BIDDING_BOT | |
| - CLIENT_URL=http://localhost:3001/ | |
| - ALCHEMY_API_KEY=0rk2kbu11E5PDyaUqX1JjrNKwG7s4ty5 | |
| - REDIS_URI=redis://redis:6379 | |
| - PORT=3003 | |
| depends_on: | |
| - mongodb | |
| - redis | |
| networks: | |
| - my_network | |
| healthcheck: | |
| test: ["CMD", "wget", "--spider", "http://localhost:3003/health"] | |
| interval: 10s | |
| timeout: 5s | |
| retries: 3 | |
| start_period: 5s | |
| client: | |
| image: ayenisholah/bidding-bot-client:latest | |
| platform: linux/amd64 | |
| restart: always | |
| ports: | |
| - "3001:3001" | |
| environment: | |
| - REDIS_URI=redis://redis:6379 | |
| - MONGODB_URI=mongodb://mongodb:27017/BIDDING_BOT | |
| - JWT_SECRET=NFTTOOLS TO THE MOON | |
| - EMAIL_USERNAME=ayenisholah@gmail.com | |
| - EMAIL_PASSWORD=rvwn mtuh hhpp lqrq | |
| - CLIENT_URL=http://localhost:3001/ | |
| - NEXT_PUBLIC_CLIENT_URL=http://localhost:3001/ | |
| - NEXT_PUBLIC_SERVER_WEBSOCKET=ws://localhost:3003 | |
| - PORT=3001 | |
| depends_on: | |
| - mongodb | |
| - server | |
| - redis | |
| networks: | |
| - my_network | |
| mongodb: | |
| image: mongo:latest | |
| restart: unless-stopped | |
| volumes: | |
| - mongodb_data:/data/db | |
| networks: | |
| - my_network | |
| redis: | |
| image: redis:latest | |
| restart: unless-stopped | |
| volumes: | |
| - redis_data:/data | |
| hostname: "redis" | |
| networks: | |
| - my_network | |
| volumes: | |
| mongodb_data: | |
| redis_data: | |
| networks: | |
| my_network: | |
| driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment