Dispatch relies on multiple services to work, which are all orchestrated by Docker Compose.
- Docker 17.05.0+
- Docker Compose 1.19.0+
- A dedicated (sub)domain to host Dispatch on (for example, dispatch.yourcompany.com).
- At least 2400MB memory
- 2 CPU Cores
The Netflix team builds Docker images to run Dispatch. To run locally, run the following from the project root:
docker build -t docker-local .
This is only useful for local development purposes, as you should use the published Docker image described in the next section.
We strongly recommend using Docker, for installing Dispatch and all it's services. If you need to install something custom, you can use this repository as the basis of your setup. If you do not wish to use the Docker images we provide, you can still find Dispatch on PyPI. However, we don't recommend that method. You'll need to work your way back from the main Dispatch image. It is not too hard, but you are likely to spend a lot more time and hit some bumps.
To install Dispatch from the repository, clone the repository locally:
git clone https://github.com/Netflix/dispatch-docker.gitBefore starting installation, we strongly recommend you check out how to configure your Dispatch instance as you'd need to rebuild your images (docker-compose build) if you want to change your configuration settings. You may copy and edit the example configs provided in the repository. If none exists, the install script will use these examples as actual configurations.
To start, run the install script:
./install.sh