Browse Source

extrahost and restart php

bach 3 days ago
parent
commit
5e0faa679e
2 changed files with 6 additions and 0 deletions
  1. 4 0
      Makefile
  2. 2 0
      docker-compose.yml

+ 4 - 0
Makefile

@@ -44,6 +44,10 @@ ps:
 logs:
 		docker-compose logs -f
 
+restart_php:
+		docker-compose restart php
+
+
 d9_maj_config: d9_crd d9_composer_install d9_updb d9_cim d9_sync_struct d9_cr d9_pag
 
 d9_crd:

+ 2 - 0
docker-compose.yml

@@ -39,6 +39,8 @@ services:
       - database
       - redis
       - server
+    extra_hosts:
+      - host.docker.internal:host-gateway
     depends_on:
       - mysql
       - redis