Docker container with Nginx/Adminer/MariaDB 10.3/PHP 5.6/PHP 7.3
Thanks to https://labs.play-with-docker.com/ , we can try the environment easily. Just click below:
docker stack rm pwd
git clone https://github.com/bitplus/docker-lnmp-10.3
cd docker-lnmp-10.3
bash start.sh
Start using docker-compose:
git clone https://github.com/bitplus/docker-lnmp-10.3
cd docker-lnmp-10.3
docker-compose up -d
Stop using docker-compose:
docker-compose down
Status:
docker-compose ps
Start using docker swarm:
bash start.sh
or docker stack deploy -c stack.yml lnmp
Stop using docker swarm:
docker stack rm lnmp
Status:
docker stack ps lnmp --no-trunc
Notes:
If running Docker swarm, the path of directory structure must exist on every swarm node (also on manager). Otherwise, you will get error 'invalid mount config for type "bind": bind source path does not exist'.
Branch main
is for Dockerfile updates and Docker Hub auto build.
Branch compose
is for normal YAML files updated.