This project uses Docker Compose to build a microservices platform that supports image registry, task scheduling, and monitoring visualization. It includes:
.
āāā conf/
ā āāā redis.conf
ā āāā registry\_config.yml
ā āāā htpasswd
ā āāā prometheus.yml
āāā store/
ā āāā redis/
ā āāā registry/
ā āāā grafana/data/
āāā docker-compose.yml
āāā requirements.txt
āāā README.md
Create a .env file in the root directory:
docker_registries=http://registry:5000
docker_username=your-username
docker_password=your-password
grafana_password=your-grafana-password
redis_password=your-redis-password
docker compose up -d
docker ps
redis-server)registry)5000htpasswd.registry-ui)5001api)8000worker)98089090Provides dashboards and visualizations.
Port: 3000
Default login:
admin${grafana_password}Recommended Dashboard: Celery Tasks Dashboard (ID: 20076)ā
fastapi>=0.115.0
uvicorn>=0.34.0
celery>=5.5.2
redis>=5.0.0
docker>=7.1.0
Install with:
pip install -r requirements.txt
| Service | Port | URL |
|---|---|---|
| Tasker API | 8000 | http://localhost:8000ā |
| Redis | 6379 | - |
| Docker Registry | 5000 | http://localhost:5000ā |
| Registry UI | 5001 | http://localhost:5001ā |
| Celery Exporter | 9808 | http://localhost:9808ā |
| Prometheus | 9090 | http://localhost:9090ā |
| Grafana | 3000 | http://localhost:3000ā |
redis_password matches between .env, Redis config, and Celery Exporter.docker_username and docker_password are set correctly in .env.Content type
Image
Digest
sha256:089a9f795ā¦
Size
63.7 MB
Last updated
10 months ago
docker pull lianshufeng/tasker