Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kenvilar/wordpress-docker
- Owner: kenvilar
- Created: 2018-02-26T13:08:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T05:57:33.000Z (almost 7 years ago)
- Last Synced: 2024-11-18T22:11:31.374Z (3 months ago)
- Topics: docker, docker-compose, env, mysql, network, phpmyadmin, wordpress
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
`