When provisioning in Lagoon, the following variable assignment in the docker-compose.yml is reported as invalid, while Docker Compose considers this valid and can process it accordingly.
MYVAR1: ${MYVAR1:-${MYVAR2:-defaultvalue}substring}
When provisioning in Lagoon, the following error is received:
There are issues with your docker compose file that lagoon uses that should be fixed.
Please note that any modern shell supports nested variable interpolation, so supporting this in Lagoon seems a reasonable expectation.