Parcourir la source

debug for access mysql

stanley-king il y a 4 ans
Parent
commit
93f0bacf8e
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      docker-compose.yml

+ 6 - 0
docker-compose.yml

@@ -40,6 +40,9 @@ services:
     command: ['docker-php-start']
     depends_on:
       - "redisrv"
+    extra_hosts:
+      - "docker.hostip:172.17.0.1"
+      - "eth.hostip:172.26.105.125"
 
   fpmsrv:
     image: php-fpm:alpine
@@ -55,3 +58,6 @@ services:
     command: [docker-php-fpm-start]
     depends_on:
       - "redisrv"
+    extra_hosts:
+      - "docker.hostip:172.17.0.1"
+      - "eth.hostip:172.26.105.125"