Skip to content

Run a PHP application using Docker & docker-compose

Notifications You must be signed in to change notification settings

cyphos1973/docker-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Docker-starter without symfony Docker-starter is a reference app created to show how create the containers easier.

alt text

Architectural diagramm

alt text

Installations instructions

Project requirements

  • apache (latest version)
  • mysql (latest version)
  • php : 7.1.33 (value default in Dockerfile but you can choose it in .env)
  • phpmyadmin (latest version)
  • composer : 1.9.3
  • yarn : 1.21.1
  • portainer
  • maildev (not verified)
  • redis (not verified)
  • centrifugo (not verified)
  • rabbit (not verified)

Installation

1: Clone the current repository:

$ git clone [email protected]:cyphos1973/docker-starter.git

2: Enter in the directory

$ cd docker-starter

3: Execute these commands below into your working folder to install the project: (see Makefile)

$ make install

Usage

1: Open the browser (Google Chrome or Firefox or Safari)

2a: Write :

$ https://localhost:80

2b: For phpmyadmin

$ https://localhost:8080

2c: For portainer

$ https://localhost:9000

3: Modify the values in the file .env when you can to see the change

4: Execute F5 in the browser

Contribution

Contribution are always welcome and recommended! Here is how:

1: Clone to your machine

$ git clone https://github.com/cyphos1973/docker-starter.git

2: Create a new branch

$ git checkout -b [branchname] 

3: Make your changes

4: Create a pull request (PR)

5: See your modifications

$ git status

6: See your past commits

$ git log

7: Switch to a branch master

$ git checkout master

8: Push your PR

$ git push origin [branchname]

About

Run a PHP application using Docker & docker-compose

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published