Sign inSign up

tsturzl/docker-ansible-lemp

By tsturzl

•Updated almost 11 years ago

LEMP stack provisioned with ansible.

Image
2

986

tsturzl/docker-ansible-lemp repository overview

⁠docker-ansible-LEMP

Docker container running LEMP stack, provisioned with ansible for consistency and easy modifications.

⁠No DB!

If you run your database on a dedicated server, or in a different container(or you don't need one). Then there is a tsturzl/docker-ansible-lemp-nodb Docker image which you can use to deploy without mysql installed/running in the container.

⁠Up and running

The web root is configured at /share/public. So you if you decide to pull code into the shared directory you can compile it to a ./public directory in the project and mount to '/share/. If this is not what you plan to do, then simply mount your directory to /share/public`.

Example:

docker run -d \
-p 80:80 -p 3306:3306 \
-v /home/me/app:/share \
--restart=always \
--name=appname \
tsturzl/docker-ansible-lemp:latest

Tag summary

Content type

Image

Digest

sha256:f7d1a02b8…

Size

173.5 MB

Last updated

almost 11 years ago

docker pull tsturzl/docker-ansible-lemp