version: '3.8' services: php: container_name: php build: context: ./php ports: - '9000:9000' volumes: - ./site:/var/www/html nginx: container_name: nginx image: nginx:latest ports: - '8080:80' volumes: - ./site:/var/www/html - ./nginx/default.conf:/etc/nginx/conf.d/default.conf depends_on: - php solr: container_name: solr image: solr:latest ports: - '8983:8983' volumes: - ./solrdata:/var/solr