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
Error is generated while trying to parse docker-compose.yml along with environment variables.
We are using certain components of laradock to run containers with required components. To keep the yaml file up-to-date with the repository, we tried to parse docker-compose.yml with Symfony Yaml components for further modification.
Unable to parse the YAML string: Malformed inline YAML string: "'external_url ''http://localhost''" at line 277 (near "GITLAB_OMNIBUS_CONFIG: 'external_url ''http://localhost''").
Parse the docker-compose.yml file along with the environment variables into a PHP or other lang object.
This will generate error near loading environment variable GITLAB_OMNIBUS_CONFIG
The text was updated successfully, but these errors were encountered:
Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.
Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.
Description:
Error is generated while trying to parse docker-compose.yml along with environment variables.
We are using certain components of laradock to run containers with required components. To keep the yaml file up-to-date with the repository, we tried to parse docker-compose.yml with Symfony Yaml components for further modification.
Laravel code for parsing yaml:
After executing above code below output is obtained:
OUTPUT
Further steps:
docker-compose config > docker-compose.yml
Expected Behavior:
Output as mentioned above, along with the environment variables loaded inside array.
Context information:
Output of
git rev-parse HEAD
Output of
docker version
Output of
docker-compose version
System info: CentOS 7
Steps to reproduce the issue:
Basic Laravel setup with Yaml Component to parse docker-compose.yml with the environment loaded.
Additional info:
PFA docker-compose.yml (environment var loaded)
docker-compose.yml.txt
This will generate error near loading environment variable GITLAB_OMNIBUS_CONFIG
The text was updated successfully, but these errors were encountered: