Docker PHP example on managing sensitive data with Docker secrets
To run these containers using docker commands:
docker build --file .docker/Dockerfile -t krishnakumarkp/blog-php-secret .
docker-compose up
or
docker stack deploy --compose-file stack.yml phpapp