Skip to content

Docker compose to host a single site using NGINX/MariaDB/phpMyAdmin

Notifications You must be signed in to change notification settings

Dwijad/docker-nginx-wordpress-phpmyadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-nginx-wordpress-phpmyadmin

Docker compose to host a single wordpress site using NGINX/MariaDB/phpMyAdmin

Download the zip file and extract it.

To host your own site change to NGINX directory

$ cd nginx

Modify the "server_name" directive in the following file and save it.

$ vi tuxlab.org.in


...

...


server_name "yourdomain.tld";

...

...

Build the docker image


$ docker-compose build

Run it

$ docker-compose up -d

The wordpress installer will be available at http://yourdomain.tld

Choose-

Database Name as: projectdb

User Name: admin

Password: password (You can change the password in docker-compose.yml)

Database Host: mariadb

The phpmyAdmin at http://SERVER_IP:8183

About

Docker compose to host a single site using NGINX/MariaDB/phpMyAdmin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published