https://github.com/codesvault/wp-docker
Create LAMP stack with Docker using CLI
https://github.com/codesvault/wp-docker
bash bash-script composer docker docker-compose dockerfile lampstack nginx nodejs php wordpress wordpress-development wpcli
Last synced: 3 months ago
JSON representation
Create LAMP stack with Docker using CLI
- Host: GitHub
- URL: https://github.com/codesvault/wp-docker
- Owner: CodesVault
- License: mit
- Created: 2022-10-14T05:13:16.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-03T04:19:29.000Z (about 2 years ago)
- Last Synced: 2025-01-26T15:46:30.120Z (5 months ago)
- Topics: bash, bash-script, composer, docker, docker-compose, dockerfile, lampstack, nginx, nodejs, php, wordpress, wordpress-development, wpcli
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP Docker
Zero configuration tool for setting up Docker environment for WordPress development.
WP Docker is a CLI tool that create LAMP stack for WordPress development using Docker and Docker Compose.
Each development Environment will run into Docker containers and completely isolated.
Features:
docker-compose exec php bash
. Installing packages & building assets can be done isolatly here.
## Prerequisites
Docker, Docker Compose and CURL need to be installed in your machine. `docker` and `docker-compose` commands should run without root user permission. Currently WP Docker is going to work in Linux and MacOS.
## Installation
* Clone this repository to your Home directory `git clone [email protected]:awesomemotive/wp-docker.git`.
* Make `wp-docker/codesvault` file executable. Run: `sudo chmod +x wp-docker/codesvault`
* Add repo into your PATH.
* If you're using ZSH then you can make an alias into `zshrc` file. `alias codesvault="~/wp-docker/codesvault"`.
* If you're using Bash then edit your `.bashrc` and add: `export PATH=~/wp-docker:$PATH`
## Uses
Just go to your desired folder and run
``` bash
codesvault
```
When the setup process is done change directory (cd) in to the domain prefix that you have been provided.
Here all docker-compose commands also can be run. If you want to access your container just run: `docker-compose exec php bash`, in this container you will have PHP, NodeJS of your choosen version. Also have Git, Composer.
Incase if you forgate your domain or PHPMyAdmin url then just run `codesvault --routes`.
## Contributors
| Name| Github username |
| ----------- | ----------- |
| AbmSourav | [@AbmSourav](https://github.com/AbmSourav) |