CropAI / backend /docker-compose.yml
bapi143's picture
Deploy CropAI Backend
5fd7795
Raw History Blame Contribute Delete
386 Bytes
version: '3.8'
services:
cropai-backend:
build:
context: .
dockerfile: Dockerfile
container_name: cropai-api
ports:
- "8080:8080"
environment:
- PORT=8080
- HOST=0.0.0.0
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3