docksal / blt-docksal

Acquia BLT Docksal integration
4 stars 5 forks source link

changes local blt config to use environment variable to hostname #2

Closed shelane closed 4 years ago

shelane commented 5 years ago

using ${project.machine_name}.docksal requires extra configuration by the user and the project machine name may not always match unless changed for local.blt.yml.

using ${env.VIRTUAL_HOST} will always read the environment variable of the already set VIRTUAL_HOST so that no additional config changes are needed. This is handing when you have to clone multiple instances of the same code base to test different branches simultaneously. It is also the recommended configuration in the Docksal and BLT blog post.