docker-compose.yml 229 B

123456789101112131415
  1. version: '2'
  2. # Declare services
  3. services:
  4. web:
  5. container_name: web
  6. image: webdevops/php-nginx:debian-8
  7. ports:
  8. - 80:80
  9. environment:
  10. - WEB_DOCUMENT_ROOT=/var/www
  11. volumes:
  12. - ./code:/var/www