Open dwkitchen opened 3 years ago
I have a multi-app setup with .platform.app.yml files in the folders for the app
.git/ .platform/ drupal/ .platform.app.yaml ... angular/ .platform.app.yaml
ref: https://docs.platform.sh/configuration/app/multi-app.html#discrete-code-bases
drupal/.platform.app.yaml defines a set of mounts:
drupal/.platform.app.yaml
mounts: '/web/sites/default/files': source: local source_path: 'files' '/tmp': source: local source_path: 'tmp' '/private': source: local source_path: 'private' '/.drush': source: local source_path: 'drush' '/drush-backups': source: local source_path: 'drush-backups' '/.console': source: local source_path: 'console'
When running lando start the folders are created relative to the .lando.yml file not the .platform.app.yml ie:
lando start
.lando.yml
.platform.app.yml
/web/sites/default/files, but should be /drupal/web/sites/default/files
/web/sites/default/files
/drupal/web/sites/default/files
I tried adding the following to .platform.app.yml as https://docs.platform.sh/configuration/app/multi-app.html#explicit-sourceroot but this didn't resolve the problem.
source: root: drupal
Tell us about your setup
v3.1.4 on Mac OS 11.5
Tell us about your .lando.yml
name: *** recipe: platformsh config: id: ***
+1
I'm noticing the exact same issue. It doesn't seem to matter whether I use one applications.yaml file or multiple .platform.app.yaml files with or without source.root specified.
I have a multi-app setup with .platform.app.yml files in the folders for the app
ref: https://docs.platform.sh/configuration/app/multi-app.html#discrete-code-bases
drupal/.platform.app.yaml
defines a set of mounts:When running
lando start
the folders are created relative to the.lando.yml
file not the.platform.app.yml
ie:/web/sites/default/files
, but should be/drupal/web/sites/default/files
I tried adding the following to
.platform.app.yml
as https://docs.platform.sh/configuration/app/multi-app.html#explicit-sourceroot but this didn't resolve the problem.Tell us about your setup
v3.1.4 on Mac OS 11.5
Tell us about your
.lando.yml