version: '3.5'

services:
    web:
        container_name: php-companies-app-web
        env_file:
            - .env
        build:
            dockerfile: ./sample-apps/companies-app/Dockerfile
            context: ../../
        ports:
            - 8999:80
        volumes:
            - ./src:/app/src
            - ./codeception.yml:/app/codeception.yml
            - ./tests:/app/tests
