rocketeers / rocketeer

Send your projects up in the clouds
http://rocketeer.autopergamene.eu/
MIT License
2.66k stars 217 forks source link

Shared .env file into Docker container #761

Open lvandyk opened 7 years ago

lvandyk commented 7 years ago

I have a Laravel .env file that needs to be shared between releases. I put the .env file in shared folder as well as shared in 'remote.php'.

After the deploy event I tell my nginx container to refresh its internal code base with the latest at 'current'. The files all mount properly into the container except for .env as its symlinked in the host container.

Would the best solution be to just manually copy the files in the deploy after instead of using the 'shared' functionality?