wodby / php

Generic PHP docker container images
MIT License
155 stars 103 forks source link

Multiline variables in .env file #86

Closed gease closed 5 years ago

gease commented 5 years ago

Can one set a multiline variable through .env file? I tried to set up SSH_PRIVATE_KEY this way and no approach worked.

csandanov commented 5 years ago

Not sure about .env but you can definitely add in docker-compose.yml. Or you can mount it https://github.com/wodby/php/blob/master/7/tests/docker-compose.yml#L31