Skip to content

tu801/www

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to setup

Prepare

Install docker desktop (https://www.docker.com/products/docker-desktop)
Clone source code (https://github.com/minhngo149/www.git)

Structure description

./sources: This is the location of the project sites 
./bin: Setup something when docker-compose build
./config: Overwrite config (php.ini, mysql.cnf,...)
./logs/nginx: The location of nginx logs (access, error)

Add new vhost

127.0.0.1 local.app1.com local.app2.com

Docker compose build

#!/bin/bash

docker-compose up -d build

Open new tab on browser: local.app1.com (local.app2.com)

Shutdown

#!/bin/bash

docker-compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 80.1%
  • Blade 17.2%
  • Dockerfile 1.9%
  • Shell 0.8%