You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding an extra volume to the appserver_nginx container, the source directory on the host is wrong as it seems to be using the location of the underlying docker compose file location instead of my lando app root directory for the relative path. Best demonstrated by example:
Actual bind mounts: %USERPROFILE%/.lando/compose/test:/app/vendor
I tested the same scenario with the nginx lando plugin directly, and it mounted the expected directory, so I think it something to do with the way the symfony lando plugin integrates with nginx.
$ lando version
v3.21.2
$ lando version --component symfony
v1.6.1
$ lando version --component nginx
v1.2.0
$ lando version --component php
v1.3.0
OS: Windows 11 (not sure if that matters.
The text was updated successfully, but these errors were encountered:
Essentially, once you get into overrides or making custom type: lando services, you're playing more directly with Docker Compose and Lando should respect those rules.
The translation of the relative paths to absolute path to my lando app root directory is what I expect for all services. I understand that using overrides is an advanced, low level feature that not a lot of people are going to use, but I figured it's worth reporting in case this is a bug.
When adding an extra volume to the
appserver_nginx
container, the source directory on the host is wrong as it seems to be using the location of the underlying docker compose file location instead of my lando app root directory for the relative path. Best demonstrated by example:Simple lando config:
Expected bind mounts:
%LANDO_APP_ROOT%/vendor:/app/vendor
Actual bind mounts:
%USERPROFILE%/.lando/compose/test:/app/vendor
I tested the same scenario with the
nginx
lando plugin directly, and it mounted the expected directory, so I think it something to do with the way the symfony lando plugin integrates with nginx.OS: Windows 11 (not sure if that matters.
The text was updated successfully, but these errors were encountered: