This project was made on WSL2.
- FastAPI - As an HTTP server
- Redis - As a cache service, message broker and schedular backend
- Redisinsight - To visualise Redis data on a GUI
- Celery - As a scheduler
- Celery Beat - To automate the scheduling
-
Create an envionment file, titled
.env
on the same root as the docker-compose, with the follwing variables- DOCKER_CONTAINER_IP: The IP address of the redis-stack image inside the container
- FASTAPI_IP: The IP address of the fastapi_app image inside the container
-
To build the project, run the following command on your console of choice
docker-compose build
To run this project, run the following command on your console of choice
docker-compose up