Skip to main content
Many tips from our best practices guide apply to self-hosted squids, too. Check it out if you intend to use your squid in production.
To deploy a squid locally or on-premises, use the following Dockerfile template to build a single image for both api and processor services:
Dockerfile
Then build an image with
or with
if you’re using an older Docker version.

Sample compose file

Once can the run the squid services with the freshly built image. Here is a sample docker-compose file:
Note that sqd serve:prod and sqd process:prod commands are defined in the commands.json file.