services:
  cine-kids:
    build:
      context: .
      dockerfile: Dockerfile.cloudron
    ports:
      - "3000:3000"
    volumes:
      - ./app:/app/code
      - ./data:/app/data
    environment:
      - CLOUDRON_APP_ORIGIN=https://your-cloudron-origin.com
      - CLOUDRON_APP_DOMAIN=yourdomain.cloudron
    user: "${MY_UID}:${MY_GID}"
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:3000/search?q=test"]
      interval: 2s
      timeout: 2s
      retries: 3