1
0
Fork
You've already forked docker-lemp
0
No description
  • Dockerfile 74.8%
  • Shell 24.1%
  • PHP 1.1%
Find a file
2020年04月18日 10:15:46 +02:00
files Configs 2019年10月26日 15:29:41 +02:00
Dockerfile „Dockerfile" ändern 2020年04月18日 10:15:46 +02:00
entrypoint.sh Configs 2019年10月26日 15:29:41 +02:00
LICENSE Initial commit 2019年10月26日 10:27:28 +02:00
README.md Readme 2019年10月26日 15:31:52 +02:00

Docker image utilizing with a LEMP stack

LEMP stack: Linux, nginx, MariaDB, PHP

This image only provides a basic LEMP stack, i.e. only using HTTP (not HTTPS)

Usage

Build

docker build -t docker-lemp .

Start (detached)

docker run --name="lemp" -dit -p 80:80 lemp /bin/bash

Remarks: Note the /bin/bash at the end of the start command. This leads the container in a running state when it is started in detached mode.

Test if the container is running correctly: Just enter http://localhost/phpinfo.php in your browser. The PHP info page should be shown.