version: '3.8' services: backend: build: context: . dockerfile: Dockerfile container_name: trinka-backend ports: - "8000:8000" volumes: - .:/home/user/app environment: - GROQ_API_KEY=${GROQ_API_KEY} - GROQ_MODEL=openai/gpt-oss-120b - PORT=8000 - HOST=0.0.0.0 - DEBUG=true - FRONTEND_URL=http://localhost:5173 env_file: - .env restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s