patronage / bubs-timber

Gulp + Timber + WP
Other
5 stars 1 forks source link

Making docker orb friendly, customize locally #179

Closed ccorda closed 1 year ago

ccorda commented 1 year ago

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