Environment variables

Hello,

I have experienced some issues while using environment variables through docker-compose.yml in rancher. For an example, (URI=“mysql://DBUSER:DBPASS@DBHOST:DBPORT/DBNAME”). Its working through docker CLI, but its through errors similar to “cant parse the string” while deploying through rancher catalogs. I have tried to use each variable in double quotes and still throwing error. When I split it up with multiple ones, its working. Is there any restriction related to length of string or special characters that we can use inside the docker-compose.yml? We may thinking of passing URLs as environment variables, which may consists of special characters. Is that possible?

Thanks