Shared .env file into Docker container
lvandyk opened this issue · 0 comments
lvandyk commented
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?