https://github.com/tactful-ai/microcentral
Central Hub To Manage And Monitor all service inside Tactful AI.
https://github.com/tactful-ai/microcentral
docker-compose fastapi microservices monitoring
Last synced: about 2 months ago
JSON representation
Central Hub To Manage And Monitor all service inside Tactful AI.
- Host: GitHub
- URL: https://github.com/tactful-ai/microcentral
- Owner: tactful-ai
- License: mit
- Created: 2022-08-08T12:09:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T23:26:20.000Z (over 1 year ago)
- Last Synced: 2025-05-23T21:41:52.568Z (about 1 year ago)
- Topics: docker-compose, fastapi, microservices, monitoring
- Language: CSS
- Homepage:
- Size: 2.63 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microcentral
A Central Hub To Manage And Monitor your microservices against best in class scorecards
---
## Installation and Running on local machine
- Get Docker In your machine you can follow this link to get it in your operating system [install docker](https://docs.docker.com/engine/install/)
- Install Python 3.10+
```bash
curl -sSL https://install.python-poetry.org | python3 -
# Install the dependencies
sudo apt install libpq-dev gcc
poetry install
# run database inside docker
docker-compose up -d database
# then run the migrations
poetry run alembic upgrade head
# seed some data (services, teams, scorecards)
poetry run python -m app.initial_data
# then run the app fastapi
poetry run fastapi dev
```
## Running on a Server using Docker Compose
4. run the following command
```bash
sudo docker-compose up
# For Migrations we went with alembic we after you update the models you need to run theses commands
sudo docker-compose run --rm app poetry run alembic revision --autogenerate -m "$message"
sudo docker-compose run --rm app poetry run alembic upgrade head
# and you are good to go
```