Skip to content

Latest commit

 

History

History
 
 

docker

Docker is the easiest way to get started with self-hosted Impler.

Before you begin

You need the following installed in your system:

Quick Start

Get the code

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.

Secure your setup

While we provide you with some example secrets for getting started, you should NEVER deploy your Impler setup using the defaults provided.

Update Secrets

Update the .env file with your own secrets. In particular, these are required:

  • JWT_SECRET: used by jsonwebtoken to create and manage tokens.

Configuration

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.

Next steps