Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use standardized host.docker.internal for docker host #2967

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions docker-compose.yml
Expand Up @@ -178,7 +178,7 @@ services:
- docker-in-docker:/certs/client
- ./php-worker/supervisord.d:/etc/supervisord.d
extra_hosts:
- "dockerhost:${DOCKER_HOST_IP}"
- "host.docker.internal:${DOCKER_HOST_IP}"
ports:
- "${WORKSPACE_SSH_PORT}:22"
- "${WORKSPACE_BROWSERSYNC_HOST_PORT}:3000"
Expand Down Expand Up @@ -288,7 +288,7 @@ services:
expose:
- "9000"
extra_hosts:
- "dockerhost:${DOCKER_HOST_IP}"
- "host.docker.internal:${DOCKER_HOST_IP}"
environment:
- PHP_IDE_CONFIG=${PHP_IDE_CONFIG}
- DOCKER_HOST=tcp://docker-in-docker:2376
Expand Down Expand Up @@ -346,7 +346,7 @@ services:
depends_on:
- workspace
extra_hosts:
- "dockerhost:${DOCKER_HOST_IP}"
- "host.docker.internal:${DOCKER_HOST_IP}"
networks:
- backend
### Laravel Horizon ############################################
Expand Down Expand Up @@ -382,7 +382,7 @@ services:
depends_on:
- workspace
extra_hosts:
- "dockerhost:${DOCKER_HOST_IP}"
- "host.docker.internal:${DOCKER_HOST_IP}"
networks:
- backend

Expand Down Expand Up @@ -1346,7 +1346,7 @@ services:
- ${DATA_PATH_HOST}/portainer_data:/data
- /var/run/docker.sock:/var/run/docker.sock
extra_hosts:
- "dockerhost:${DOCKER_HOST_IP}"
- "host.docker.internal:${DOCKER_HOST_IP}"
ports:
- 9010:9000
networks:
Expand Down