Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Shared .env file into Docker container #761

Open
lvandyk opened this issue Sep 21, 2017 · 0 comments
Open

Shared .env file into Docker container #761

lvandyk opened this issue Sep 21, 2017 · 0 comments

Comments

@lvandyk
Copy link

lvandyk commented Sep 21, 2017

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant