version: "3.7" services: php7.2: build: docker/php7.2 container_name: extension-check-7.2 volumes: - .:/app:rw tty: true extra_hosts: - "host.docker.internal:host-gateway" php7.4: build: docker/php7.4 container_name: extension-check-7.4 volumes: - .:/app:rw tty: true extra_hosts: - "host.docker.internal:host-gateway" php8.0: build: docker/php8.0 container_name: extension-check-8.0 volumes: - .:/app:rw tty: true extra_hosts: - "host.docker.internal:host-gateway"