services:
  app:
    build:
      context: .
      dockerfile: Dockerfile.ci
      args:
        PHP_IMAGE: ${PHP_IMAGE:-php:8.2-cli}
        COMPOSER_IMAGE: ${COMPOSER_IMAGE:-composer:2}
    container_name: alrahma_ci_app
    working_dir: /app
    environment:
      APP_ENV: testing
      APP_KEY: ${APP_KEY:-}
      DB_CONNECTION: sqlite
      DB_DATABASE: /app/database/database.sqlite
      CACHE_DRIVER: array
      QUEUE_CONNECTION: sync
      SESSION_DRIVER: array
      MAIL_MAILER: log
