Giter VIP home page Giter VIP logo

docker-grandpa-php's Introduction

docker-grandpa-php

It's configuration for docker-compose with images Apache + php5.3, mysql, mariadb and memcached. It is useful for old php projects on php5.3.

Requerements

  • docker
  • docker-compose

Installation

  • Just clone it into any directory
  • Edit option MAIN_WEB_ROOT_PATH and another options in .env file
  • Add virtual host configuration for Apache into main/sites folder. Use example file in it
  • Add your local domains in /etc/hosts
  • Run docker-compose "up" command:
docker-compose up -d main mysql  

or

docker-compose up -d main mariadb  

Useful commands

Open bash terminal in main container:

docker-compose exec main bash

Show list of containers and them statuses:

docker-compose ps

Stop all container of current build:

docker-compose stop

docker-grandpa-php's People

Contributors

itelmenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mk3mk

docker-grandpa-php's Issues

getting error

Hello!
Step 5/13
ERROR: Service 'main' failed to build: The command '/bin/sh -c locale-gen fr_FR.UTF-8 locale-gen tr_TR.UTF-8 locale-gen de_DE.UTF-8 locale-gen ja_JP.UTF-8 locale-gen ru_RU.UTF-8 locale-gen en_US.UTF-8 locale-gen es_ES.UTF-8 locale-gen it_IT.UTF-8 locale-gen pl_PL.UTF-8 locale-gen pt_BR.UTF-8 locale-gen pt_PT.UTF-8 COPY apache_default /etc/apache2/sites-available/default' returned a non-zero code: 1
Do you know how to resolv it?

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.