docker-compose.dev-linux.yml 590 B

123456789101112131415161718192021
  1. ## Mark Shust's Docker Configuration for Magento
  2. ## (https://github.com/markshust/docker-magento)
  3. ##
  4. ## Version 40.0.0
  5. version: "3"
  6. services:
  7. app:
  8. volumes: &appvolumes
  9. - ./src/nginx.conf.sample:/var/www/html/nginx.conf:cached
  10. - ./src:/var/www/html:cached
  11. ## To sync your SSH key to the container, uncomment:
  12. #- ~/.ssh/id_rsa:/var/www/.ssh/id_rsa:cached
  13. phpfpm:
  14. volumes: *appvolumes
  15. ## Replace 172.17.0.1 with the result of:
  16. ## docker run --rm alpine ip route | awk 'NR==1 {print $3}'
  17. extra_hosts:
  18. - "host.docker.internal:172.17.0.1"