version: "3" services: web: image: nginx:latest container_name: web hostname: web ports: - "8090:80" volumes: - /DockerVol/nginx/nginx.conf:/etc/nginx/conf.d/nginx.conf - /DockerVol/nginx/app:/app networks: - netgrimoire php: build: context: . dockerfile: PHP.Dockerfile container_name: php hostname: php environment: - SQUARE_ACCESS_TOKEN=EAAAEL7IiBLzyp94hSovsq65Lk1fdD5vDS0515edlF1_OBEePIbz-X9RxGgRZf7n volumes: - /DockerVol/nginx/app:/app networks: - netgrimoire