First, clone Dittofeed’s github repository.
Overriding Default Environment Variables
It’s important that you override the default environment variables in the.env file, for security reasons.
Dittofeed has dependencies on Postgres, and Clickhouse, with an optional Kafka dependency.
.env file.
docker-compose.lite.yaml file:
docker-compose.lite.yaml
.env file with the following values, substituting placeholder values with your own. Dittofeed will work without these overrides, but it is recommended that you substitute your own credentials.
.env
SECRET_KEY.
Finally, start Dittofeed’s services.
Fixing Port Conflicts
You may be running other services on your host machine that conflict with Dittofeed’s ports. If this is the case, you can override the ports that Dittofeed binds to in thedocker-compose.lite.yaml file
First, comment out the ports section in the service dependencies which don’t need to be exposed.
docker-compose.lite.yaml
docker-compose.lite.yaml
.env

