Overview
Project Repositories
Initial deployment
Clone the main repository to the production machine when setting up the application.
All services are deployed from Docker images -- either custom images build from the two other repositories or 3rd-party images.
main
repository-
Defines the service architecture in
docker-compose.yml
.Contains the project documentation you are currently reading.
fastapi
repository-
Defines the REST API and the background jobs.
dbt
repository-
Defines the analytics service.
Exposes an RPC server.
Background Tasks
- import documents from elastic to postgres,
- start analytics runs in the analytics service via RPC,
- read from
spellcheck_queue
table in postgres, submit items to spellceck service and store spellcheck errors in postgres.
See FastAPI -> Background Tasks for further details.