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

Feature: Automatic network detection #17

Open
hopeseekr opened this issue Feb 26, 2020 · 0 comments
Open

Feature: Automatic network detection #17

hopeseekr opened this issue Feb 26, 2020 · 0 comments

Comments

@hopeseekr
Copy link

The Problem

When using PHP CLI Docker images, the network of the docker-compose is not accessible, meaning commands like php artisan migrate will fail due to an inability of the CLI to communicate with the Docker-hosted database server.

The Solution

As part of my Laravel QuickStart project, my PHP CLI Docker container will automagically detect any running Docker Network inside the current working directory, and it autoconfigures the php container to use it.

If you want, I'm more than happy to contribute that to this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant