first commit

This commit is contained in:
2025-07-16 09:59:56 +00:00
commit c84a835f55
7 changed files with 109 additions and 0 deletions

29
docker-compose.yml Normal file
View File

@ -0,0 +1,29 @@
version: '3.8'
services:
mongo:
image: mongo
ports:
- "27017:27017"
redis:
image: redis
ports:
- "6379:6379"
backend:
build: ./backend
ports:
- "6000:6000"
depends_on:
- redis
- mongo
worker:
build: ./worker
depends_on:
- redis
- mongo
restart: always
entrypoint: ["sh", "-c", "while true; do python worker.py; sleep 60; done"]