Skip to content

yefryf/webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebServer container for PHP Application (All-in-one)

This is a docker container with full stack LAMP services that includes:

  • nginx
  • PHP-FPM
  • MariaDB

It's possible to deploy any php application inside it.

Usage

To run the container:

    docker run -d -p 8080:80 -e MYSQL_PASS=mypass --name webserver yefryf/webserver

In MYSQL_PASS change the value to the password that you want to give to admin user.

Now you can browse to http://<DOCKER_HOST>:8080

Database

  • Default DBUser: admin
  • Default DBName: db_web
  • Default DBName: that's you set using MYSQL_PASS variable

Note: If no MYSQL_PASS have been set, a random password will be generated. Use docker logs <container_id> to view it.

About

Ubuntu 14.04 + NGINX + PHP-FPM + MariaDB 5.5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published