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

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: 15 days ago
JSON representation

Create LAMP stack with Docker using CLI

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:

  • One command, Zero configuration Docker environment setup

  • Can access into Docker container using docker-compose exec php bash. Installing composer packages.

  • Choose any PHP FPM version that is available in Docker Hub

  • Choose any NODEJS version. Build assets isolatly in the container.

  • Choose any WordPress release version from Here

  • Nginx

  • Mysql

  • PHPMyAdmin

  • WP CLI

  • Xdebug



  • ## 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
    * Download the `codesvault.zip` from [latest release](https://github.com/CodesVault/wp-docker/releases/tag/v1.1.0)
    * Make `codesvault/wp-docker` file executable. Run: `sudo chmod +x codesvault/wp-docker`
    * Add repo into your PATH.
    * If you're using ZSH then you can make an alias into `zshrc` file. `alias wp-docker="~/codesvault/wp-docker"`.
    * If you're using Bash then edit your `.bashrc` and add: `export PATH=~/codesvault/wp-docker:$PATH`




    ## Uses
    Just go to your desired folder and run
    ``` bash
    wp-docker
    ```


    When the setup process is done change directory (cd) in to the domain prefix that you have been provided.
    Here Docker configurations and WordPress is ready to use.


    Incase if you forgate your domain or PHPMyAdmin url then just run `wp-docker --routes`.




    ## Contributors

    | Name| Github username |
    | ----------- | ----------- |
    | AbmSourav | [@AbmSourav](https://github.com/AbmSourav) |