services: nginx: build: context: "nginx" dockerfile: "Dockerfile" volumes: - ./src:/var/www/html:ro ports: - 8080:80 - 8443:443 depends_on: - phpfpm phpfpm: build: context: "phpfpm" dockerfile: "Dockerfile" volumes: - ./src:/var/www/html:rw db: image: mariadb env_file: .env.db composer: image: composer volumes: - ./src:/app node: image: node:current-alpine user: "node" working_dir: /home/node/app volumes: - ./src:/home/node/app