Skip to content

chitranjan-gupta/wordpress-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wordpress-docker

This is creates a docker container containing wordpress and apache2 server.

Requirements

Add all the environment variable otherwise it will show Error Connecting with the database

Build

docker build -t my-wordpress

Run

docker run -p 8000:80 -d --env-file .env my-wordpress

Stop

docker stop <container_id>

Start

docker start <container_id>

logs

docker logs <container_id>

Releases

No releases published

Packages

No packages published