This deployment is based on a single image:
​https://hub.docker.com/r/faloker/purify​
static files served by the web server
In this deployment scenario, you need to provide load balancing and database layers on your own. Good example is to use it with something like Heroku and MongoDB Atlas.
Create your own .env file based on this example:
# any random quite long stringJWT_SECRET=changeme​# pass uri with credentials if neededMONGODB_URI=mongodb://root:[email protected]:27017​# just any stringDB_NAME=purify​# domain where purify is running, e.g. purify-demo.herokuapp.comDOMAIN=purify-demo.herokuapp.com
docker run --env-file=.env.custom -p 8000:3000 faloker/purify
Also, you can provide an environment variable PORT to start Purify instance on a specific port.