2
0

docker-compose.dev-linux.yml 480 B

12345678910111213141516171819
  1. ## Mark Shust's Docker Configuration for Magento
  2. ## (https://github.com/markshust/docker-magento)
  3. ##
  4. ## Version 40.0.1
  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. phpfpm:
  12. volumes: *appvolumes
  13. ## Replace 172.17.0.1 with the result of:
  14. ## docker run --rm alpine ip route | awk 'NR==1 {print $3}'
  15. extra_hosts:
  16. - "host.docker.internal:172.17.0.1"