This guide uses docker compose to run Jitsu locally. It's suitable for testing purposes only.
- Docker Engine >= 19.03.0
- Kubernetes cluster (Optional. Required for connectors syncs)
- You'll need to create a
.env
file indocker
directory. You can copy.env.example
to.env
:
# Copy .env.example to .env
cp .env.example .env
- Set up all required variables in
.env
file.
Required
Initial user login and password.
The very first user will be created with those credentials, and it will become an admin user.
Please change the password right after first login.
Default value: http://localhost:${JITSU_UI_PORT}/
This is a URL where Jitsu UI will be available.
When UI is deployed on remote server, set it with your remote server URL, e.g.: http://your-domain:3000.
For production deployments, it is recommended to put it behind an HTTPs load balancer or reverse proxy.
In this case, this value must be set to a public URL, such as: https://jitsu.my-company.com.
Default value: http://localhost:${JITSU_INGEST_PORT}/
This is a URL where Jitsu Ingest will be available.
When Jitsu is deployed on remote server, set it with your remote server URL, e.g.: http://your-domain:8080.
For production deployments, it is recommended to put it behind an HTTPs load balancer or reverse proxy.
In this case, this value must be set to a public URL, such as: https://jitsu.my-company.com.
Those secrets are used mostly for internal communication between Jitsu components.
Please make sure to generate random values for those variables.
In jitsu/docker
directory run:
docker-compose up
Open Jitsu UI url (e.g.: http://localhost:3000/
) in your browser, login with any GitHub account and follow the instructions.
Create a new site in Jitsu UI and click Setup instructions
button in the site context menu.
See HTTP API guide for details.
Those steps are optional, but they might make sense for you:
- Set up Connectors Syncs. See SYNCS_README.md for details
- Set
DISABLE_SIGNUP
in.env
totrue
if you don't want to allow users to sign up - See reference for other variables in Production Deployment guide.