docker-compose.dev-linux.yml 360 B

1234567891011121314
  1. version: "3"
  2. services:
  3. app:
  4. volumes: &appvolumes
  5. - ./src/nginx.conf.sample:/var/www/html/nginx.conf:cached
  6. - ./src:/var/www/html:cached
  7. phpfpm:
  8. volumes: *appvolumes
  9. ## Replace 172.17.0.1 with the result of:
  10. ## docker run --rm alpine ip route | awk 'NR==1 {print $3}'
  11. extra_hosts:
  12. - "host.docker.internal:172.17.0.1"