8000 GitHub - tu801/www · GitHub
[go: up one dir, main page]

Skip to content
tu801Public
forked from minhngo149/www

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

11 Commits

Folders and files

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0