Docker Compose configuration for deploying the Sqwid Marketplace, including backend, database, indexer, and client services.
To ensure optimal performance, your system should meet the following minimum requirements:
- RAM: 8GB or more
- Storage: SSD with at least 20GB of free space
Before running the Sqwid Marketplace, you need to set up the required environment variables. Follow these steps:
- Navigate to the respective directories:
indexer/server/dev/
- Copy the
.env.samplefile in each directory and rename it to.env:cp indexer/.env.sample indexer/.env cp server/dev/.env.sample server/dev/.env
- Open each
.envfile and replace the placeholder values with the required environment variables.
Use the following command:
docker-compose -f dev.docker-compose.yml up --builddocker-compose up --buildchmod +x ./scripts/dev-run.sh./scripts/dev-run.shIf you need to stop all running Docker containers:
./scripts/kill.sh