Skip to content

Commit bf53ad6

Browse files
committed
refactor-2:
- added `extra_hosts` key to php container in docker-compose.base.yaml file, so it is possible to start debug session from web page or console;
1 parent b278326 commit bf53ad6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/.docker/docker-compose.base.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ services:
3939
ports:
4040
- "9000:9000"
4141
- "2222:22" # ssh connection with container
42+
extra_hosts:
43+
- "host.docker.internal:host-gateway"
4244
volumes:
4345
- ../:/var/www/html:rw
4446
- ~/.composer:/var/www/.composer:rw

0 commit comments

Comments
 (0)