Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
The new local docker setup is pretty nifty, thanks! But I have a usage query.
With the old version, I was able to set up environments in each project's directory. But the new one groups them all into
What would be the recommended method of setting up environments in separate directories using v2?
Configure will allow you to change the directory that every site goes into, but in order to manage all the environments (run start, restart, wp-cli commands, etc) via the 10updocker helper command, we need to know where to find each site, which is why they all go by default into
I actually run with a slightly different directory (
For right now, allowing any arbitrary path for each environment is out of the scope of what we're trying to accomplish here, though its something we might be able to work into a future iteration.
If you're really looking to customize this and use your own directories, it is possible to manually manage environments and have them still flow through the main nginx gateway that this project provides, but you would lose the convenience helpers like
@cmmarslender Good to know, thanks, will take a look at that.
Out of interest, if I still wanted the convenience helpers, would it be problematic within this framework to keep it configured to
And also, is there a timeframe for when v1 will be retired?
I did a quick test with symlinks and at least the basic functionality seems to work. Not something we'd say is an official way of using this, but seems to work ok so far for me with something like this:
We don't have a date quite yet for retiring V1, but we are currently not really adding any new functionality to that version and recommend people use v2 at this point.