Skip to content

(This is Complete Starter Pack) Running Nginx MySQL PHP-FPM in docker with support multi sites and Auto SSL. Starter source include is React , Express , And dummy PHP file

Notifications You must be signed in to change notification settings

rendyproklamanta/docker-nginxproxy-lemp-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Create docker network

docker network create nginx-proxy

2. Run php-fpm with nginx

docker-compose -f docker-compose.nginx-php.yml up --build -d

3. Run mysql + phpmyadmin + redis

docker-compose -f docker-compose.database.yml up --build -d

MySql & PhpMyAdmin Credential
user : root
password : root

You can change password root in docker-compose.database.yml
MYSQL_ROOT_PASSWORD

4. Run web in directory

cd /sites/domain.com
docker-compose -f docker-compose.production.yml up --build --force-recreate --no-deps -d

About

(This is Complete Starter Pack) Running Nginx MySQL PHP-FPM in docker with support multi sites and Auto SSL. Starter source include is React , Express , And dummy PHP file

Resources

Stars

Watchers

Forks