Giter VIP home page Giter VIP logo

dockerized-lamp-php5.6's Introduction

Dockerized PHP5.6

Logo

Status

Image Size Docker Pulls Build Status Licenses

Table of contents

For PHP5.6-FPM with Nginx use Dockerized PHP5.6-FPM with Nginx

Prerequisites

Project Tree

├── .env.db
├── Dockerfile
├── backup
│   ├── db_backup.sh
│   ├── db_restore.sh
│   ├── web_backup.sh
│   └── web_restore.sh
├── conf
|   ├── php.ini
│   └── website.conf
├── docker-compose.yml
└── web
    └── index.php

Backup Folder

File Description
db_backup.sh Small script to backup MySQL database
db_restore Small script to backup web Folder
web_backup.sh Small script to restore MySQL database
web_restore.sh Small script to restore web Folder

Config Folder

File Description
php.ini For additional configurations of PHP, еdit this file before deploying the container.
website.conf Apache2 basic vhost file.

Rename

It is highly advised to change all names.


Deployment

Clone repo to your server. I suggest using /opt directory

sudo git clone https://github.com/eduardevops/dockerized-php5.6.git

Put your webapp/website into the web folder.
Navigate to the project folder and start containers.

cd /path/to/dockerized-php5.6
docker-compose up -d

dockerized-lamp-php5.6's People

Contributors

ifc201 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.