Docker is the easiest way to get started with self-hosted Impler
.
You need the following installed in your system:
- Docker and docker-compose
- Git
Clone the Impler repo and enter the docker directory locally:
# Get the code
git clone --depth 1 https://github.com/implerhq/impler.io
# Go to the docker folder
cd impler.io/docker
# Copy the example env file
cp .env.example .env
# Start
docker-compose up
Now visit http://localhost:3000/api to define the schema for your import.
While we provide you with some example secrets for getting started, you should NEVER deploy your Impler setup using the defaults provided.
Update the .env
file with your own secrets. In particular, these are required:
JWT_SECRET
: used byjsonwebtoken
to create and manage tokens.
To keep the setup simple, we made some choices that may not be optimal for production:
- the database is in the same machine as the servers
- the storage uses the S3 to store files
We strongly recommend that you decouple your database before deploying.
- Got a question? Ask here.