A Synchronization worker for Chat-Backend. It takes data from redis streams and update it in postgres database to maintain database and cache consistency.
-
Clone the repository:
git clone https://github.com/AI-at-Work/Sync-Backend cd Sync-Backend -
Copy the
.env.sampleto.envand configure the environment variables:cp .env.sample .env
Edit the
.envfile to set your specific configurations. -
Start the service:
docker compose up -d --build
Key configuration options in the .env file:
DB_*: PostgreSQL database configurationsREDIS_*: Redis configurations
Refer to the .env.sample file for a complete list of configuration options.
