Skip to content

pm5/docker-php5-nginx-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Docker image packing PHP5 + nginx + MySQL to be used as a tiny VPS.

Usages

Put an index.php file under project root directory with:

    <?php
    print phpinfo();

Then

    # put your SSH pubkey at `mykey.pub` if you want SSH access
    $ make build run
    # check http://localhost:8080/

If you use boot2docker replace localhost with the IP reported by boot2docker ip.

SSH access

For developement, use the insecure key provided by Phusion baseimage.

To enable SSH access in production you should build an image with your own public key.

About

A Docker image packing PHP5 + nginx + MySQL to be used as a tiny VPS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published