diff --git a/docker-compose.yml b/docker-compose.yml index b921e6a..e04329b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,7 +21,7 @@ services: volumes: - ./src:/var/www/html:delegated depends_on: - - php_mtc + - php - redis_mtc - db_mtc - mailhog_mtc @@ -57,14 +57,14 @@ services: #- ./pgadmindata:/var/lib/pgadmin networks: - mtc_net - php_mtc: + php: build: context: ./dockerfiles dockerfile: php.root.dockerfile args: - UID=${UID:-1000} - GID=${GID:-1000} - container_name: php_mtc + container_name: php ports: - "9000:9000" volumes: @@ -92,7 +92,7 @@ services: volumes: - ./src:/var/www/html depends_on: - - php_mtc + - php entrypoint: [ 'composer', '--ignore-platform-reqs' ] networks: - mtc_net