version: '3.8' services: backend: build: context: ./backend dockerfile: Dockerfile container_name: tesseract-backend ports: - "8000:8000" volumes: - ./backend/app:/app/app - tesseract-db:/app environment: - PYTHONUNBUFFERED=1 restart: unless-stopped frontend: build: context: ./frontend dockerfile: Dockerfile container_name: tesseract-frontend ports: - "3000:80" depends_on: - backend restart: unless-stopped volumes: tesseract-db: