docker network create nginx-proxy
docker-compose -f docker-compose.nginx-php.yml up --build -d
docker-compose -f docker-compose.database.yml up --build -d
- MySQL (3306) : mysql -u root -p root -h host -P 3306
- PhpMyAdmin (8000) : http://localhost:8000
- Redis (6379) : http://localhost:8081
MySql & PhpMyAdmin Credential
user : root
password : root
You can change password root in docker-compose.database.yml
MYSQL_ROOT_PASSWORD
cd /sites/domain.com
docker-compose -f docker-compose.production.yml up --build --force-recreate --no-deps -d