Environment Reference
Complete list of environment variables for the scraping/ service, grouped by category.
Copy scraping/.env.example to scraping/.env and fill in the values for your environment before starting the service.
Never commit real credentials to version control. Use .env locally and inject secrets via your deployment platform in production.
Core
Prop
Type
Database (PostgreSQL)
Prop
Type
The docker-compose defaults are: host postgres, port 5432, user postgres, password postgres_password, database amazon_shopping_agent.
Redis
Prop
Type
Redis is used for transaction verification locks (lock:tx_verify:{txHash}) and processed-transaction deduplication keys (sui:tx:processed:{txHash}).
Apify (Scraping)
Prop
Type
Sui
Prop
Type
backend/ Webhook
Prop
Type
Development
Prop
Type
Docker Compose Services
| Service | Image | Port | Purpose |
|---|---|---|---|
app | Local Dockerfile | 3000 | NestJS application |
postgres | postgres:15-alpine | 5432 | Primary database |
redis | redis:7-alpine | 6379 | Cache and distributed locks |
meilisearch | getmeili/meilisearch:v1.5 | 7700 | Full-text search engine (provisioned, not yet used) |
pgadmin | dpage/pgadmin4 | 5050 | Optional — PostgreSQL UI |
All services share the app-network bridge network. The NestJS app waits for PostgreSQL, Redis, and Meilisearch health checks before starting.
How is this guide?