Mersi

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

ServiceImagePortPurpose
appLocal Dockerfile3000NestJS application
postgrespostgres:15-alpine5432Primary database
redisredis:7-alpine6379Cache and distributed locks
meilisearchgetmeili/meilisearch:v1.57700Full-text search engine (provisioned, not yet used)
pgadmindpage/pgadmin45050Optional — 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?

On this page