Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kenvilar/wordpress-docker

Generating WordPress using Docker Compose setup, hiding credentials in repo
https://github.com/kenvilar/wordpress-docker

docker docker-compose env mysql network phpmyadmin wordpress

Last synced: 27 days ago
JSON representation

Generating WordPress using Docker Compose setup, hiding credentials in repo

Awesome Lists containing this project

README

        

# wordpress-docker
Docker configuration in WordPress

 

Copy the '.env-sample' file and rename the new file as '.env' and then put your passwords and credentials on it.

*if you want to include 'wp-content' folder in your new repo, you should comment the line with text wp-content in .gitignore file.*

Build the project
`
docker-compose up -d
`

Shutdown and cleanup (removes the containers, default network, and the Wordpress database)
`
docker-compose down --volumes
`

But if you want to remove the containers and default network but want to preserve the Wordpress database
`
docker-compose down
`