Readme + docker compose fix

This commit is contained in:
2025-07-12 22:47:45 +00:00
parent 0c77df266f
commit 40d83cad12
3 changed files with 8 additions and 12 deletions

View File

@ -68,8 +68,7 @@ services:
|---------------------|-------------------------------------------------|------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------| |---------------------|-------------------------------------------------|------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|
| `PRODUCT_NAMES` | The exact GPU names you're searching for | `RTX 5080, RTX 5090` | | | `PRODUCT_NAMES` | The exact GPU names you're searching for | `RTX 5080, RTX 5090` | |
| `DISCORD_WEBHOOK_URL` | Your Discord webhook URL | A valid URL | | | `DISCORD_WEBHOOK_URL` | Your Discord webhook URL | A valid URL | |
| `COUNTRY` | Your country (only one). API localization, Discord notification currency and language will be set accordingly | `GB`, `US`, `CA`, `BE`, `NL`, `DK`, `DE`, `ES`, `FR`, `IT`, `NO`, `AT`, `PL`, `FI`, `SE`, `KR`, `JP` | `COUNTRY` | Your country (only one). API localization, Discord notification currency and language will be set accordingly | `GB`, `US`, `CA`, `BE`, `NL`, `DK`, `DE`, `ES`, `FR`, `IT`, `NO`, `AT`, `PL`, `FI`, `SE`, `KR`, `JP` | `US` |
| `US` |
| `DISCORD_SERVER_NAME` | The name of your server, displayed in notification's footer | A text | Shared for free | | `DISCORD_SERVER_NAME` | The name of your server, displayed in notification's footer | A text | Shared for free |
| `DISCORD_ROLES` | List of Discord roles ID in the same order than `PRODUCT_NAMES` values, found in your discord server settings (with user profile developer mode enabled) | `<@&12345><@&6789>` | @everyone | | `DISCORD_ROLES` | List of Discord roles ID in the same order than `PRODUCT_NAMES` values, found in your discord server settings (with user profile developer mode enabled) | `<@&12345><@&6789>` | @everyone |
| `REFRESH_TIME` | Script refresh interval in seconds | `60`, `30`, etc. | `30` | | `REFRESH_TIME` | Script refresh interval in seconds | `60`, `30`, etc. | `30` |

View File

@ -1,5 +1,3 @@
PRODUCT_NAMES= # Exact GPU name (e.g. "RTX 5080, RTX 5090") PRODUCT_NAMES= # Exact GPU name (e.g. "RTX 5080, RTX 5090")
DISCORD_WEBHOOK_URL= # Your Discord webhook URL DISCORD_WEBHOOK_URL= # Your Discord webhook URL
API_URL_SKU= # API listing the product for your country COUNTRY= # Set your country (e.g. 'US')
API_URL_STOCK= # API providing stock data for your country
PRODUCT_URL= # GPU purchase URL for your country

View File

@ -7,10 +7,9 @@ services:
- .env - .env
environment: environment:
# Minimal environment variables # Minimal environment variables
- PRODUCT_NAMES= # Exact GPU name (e.g. "RTX 5080, RTX 5090") environment:
- DISCORD_WEBHOOK_URL= # Your Discord webhook URL # Minimal environment variables
- DISCORD_NOTIFICATION_CURRENCY= # Set your country currency - PRODUCT_NAMES=${PRODUCT_NAMES}
- API_URL_SKU= # API listing the product for your country - DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
- API_URL_STOCK= # API providing stock data for your country - COUNTRY=${COUNTRY}
- PRODUCT_URL= # GPU purchase URL for your country - PYTHONUNBUFFERED=1
- PYTHONUNBUFFERED=1 # Enables real-time log output