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.sample
file in each directory and rename it to.env
:cp indexer/.env.sample indexer/.env cp server/dev/.env.sample server/dev/.env
- Open each
.env
file and replace the placeholder values with the required environment variables.
Use the following command:
docker-compose -f dev.docker-compose.yml up --build
docker-compose up --build
chmod +x ./scripts/dev-run.sh
./scripts/dev-run.sh
If you need to stop all running Docker containers:
./scripts/kill.sh