# Docker Compose for Production version: '3.8' services: # 1. API Production api: build: context: ./api dockerfile: Dockerfile ports: - "8000:8000" restart: always # 2. Web UI Production (Nginx) ui: build: context: ./ui dockerfile: Dockerfile target: prod ports: - "80:80" depends_on: - api restart: always