With this appraoch, we have defaults that will support orb based docker, but make it trivial to override with specific ports if you'd like.
Another upshot is your docker-compose.local.yml (which is gitignored) can overload WP env variables passed via docker config. So you can test production gulp build settings for example without accidentally committing.
I tried keeping the defaults with ports, then ovveriding with local, but it wasn't straightforward to unset the original ports.
refs https://github.com/patronage/bubs-next/issues/291
With this appraoch, we have defaults that will support orb based docker, but make it trivial to override with specific ports if you'd like.
Another upshot is your
docker-compose.local.yml
(which is gitignored) can overload WP env variables passed via docker config. So you can test production gulp build settings for example without accidentally committing.I tried keeping the defaults with ports, then ovveriding with local, but it wasn't straightforward to unset the original ports.
with