https://github.com/klipitkas/wordpress-docker
WordPress + Docker Compose = ❤️
https://github.com/klipitkas/wordpress-docker
database docker mysql phpmyadmin stack volumes wordpress wordpress-docker
Last synced: 3 days ago
JSON representation
WordPress + Docker Compose = ❤️
- Host: GitHub
- URL: https://github.com/klipitkas/wordpress-docker
- Owner: klipitkas
- Created: 2019-10-08T12:27:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T19:27:49.000Z (over 3 years ago)
- Last Synced: 2026-01-03T16:11:53.811Z (3 months ago)
- Topics: database, docker, mysql, phpmyadmin, stack, volumes, wordpress, wordpress-docker
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wordpress-docker
WordPress + Docker Compose = ❤️
This stack includes the following components:
- WordPress
- MySQL 5.7
- PHPMyAdmin
### DEPENDENCIES
- Docker >= `18.09.1, build 4c52b90`
- Docker Compose >= `version 1.22.0, build f46880fe`
### START
Clone this repository:
```bash
git clone git@github.com:klipitkas/wordpress-docker.git
```
### BRING UP THE STACK
```bash
$ cd wordpress-docker
$ docker-compose up -d
```
### BRING DOWN THE STACK
```bash
$ docker-compose down
```
### MULTIPLE WORDPRESS INSTALLATIONS
For multiple WordPress installations the easiest approach would be to copy the cloned directory and name it appropriately:
```bash
$ cp -r wordpress-docker project-name
$ cd project-name
```
Cleanup the previous project files in order to start fresh:
```bash
$ bash clean.sh
```
### WORDPRESS ACCESS
You can access the WordPress installation at:
- http://localhost
The administrative URL can be found at:
- http://localhost/wp-admin
### DATABASE ACCESS
To access the database you can use PHPMyAdmin at:
- http://localhost:8080
The credentials are the following:
- Username: **wordpress**
- Password: **wordpress**
- Database: **wordpress**
or for the root account:
- Username: **root**
- Password: **root**
You can also access the database from within the container:
```bash
$ docker-compose exec database bash
$ mysql -u wordpress -pwordpress wordpress
```
### VOLUMES
All changes are saved in the following volumes:
- **database**: The database volume, containing everything MySQL related.
- **wordpress**: The wordpress volume, containing all the files needed for WordPress.
### BUGS & ISSUES
Send them to klipitkas@gmail.com or [open an issue](https://github.com/klipitkas/wordpress-docker/issues/new).