Closed mathieupotier closed 3 years ago
I'd prefer to use the same pattern as other php images do. Would you like to implement this?
I can do it, I'll push this in few hours.
Done.
I just prefered to not export env var to avoid leaks on secrets. The replaced env vars are just shared under current PID, they don't go to the kernel stack.
Add support for docker secrets : https://docs.docker.com/engine/swarm/secrets/
Created new environment var to manage secrets source files.
Hope it helps, made such a change for my usage, and seems working perfectly ^_^