This repository contains a Dockerized Pactum Flow Server.
Create a docker-compose.yml as below.
version: "3.9"
services:
flows:
image: "pactumjs/flows:latest"
ports:
- "8080:8080"
environment:
- "DB_HOST=mongo"
mongo:
image: "mongo:4.2.12"
Run docker-compose up to get a running Pactum Flow Server and a clean MongoDB.
docker-compose up -d
DB_HOST - MongoDB's host
DB_PORT - MongoDB's port - Defaults to '27017'
DB_NAME - MongoDB's database name - Defaults to 'pactum'
DB_USER - MongoDB's username for authentication
DB_PASSWORD - MongoDB's password for authentication
DB_SSL - Useful while integration with CosmosDB
DB_REPLICA_SET - Useful while integration with CosmosDB
DB_RETRY_WRITES - Useful while integration with CosmosDB
AUTH_TOKEN - Authentication Token - Defaults to 'YWRtaW46YWRtaW4='
AUTH_RATE_LIMIT_WINDOW - Defaults to 15 * 60 * 1000
AUTH_RATE_LIMIT_MAX - Defaults to 100
SESSION_EXPIRES_IN - Defaults to 1d - use string literals from - https://www.npmjs.com/package/ms
Visit PactumJS site for setup instructions.
Content type
Image
Digest
sha256:17944b506…
Size
219.3 MB
Last updated
over 2 years ago
docker pull pactumjs/flows