This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called docker-compose.yaml and run the command
$ docker-compose up -d
$ docker-compose down
| #!/bin/bash | |
| # ---------------------------------- | |
| # Colors | |
| # ---------------------------------- | |
| NC='\033[0m' | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| ORANGE='\033[0;33m' | |
| BLUE='\033[0;34m' |
| #!/bin/bash | |
| echo "___________________________________________" | |
| echo "| Welcome to Jalgo Get free ssl Script (-: |" | |
| echo "| POWERED BY JALGO.IR(Ali Khadivi) |" | |
| echo "| Version: 1.0.0 |" | |
| echo "|__________________________________________|" | |
| echo "" | |
| echo "" | |
| echo " Lets GO ->" | |
| echo "" |
| PROMPT=$' | |
| %{$FG[129]%}(%{$fg_bold[blue]%}%n %{$FG[129]%}@ %{$fg_bold[blue]%}%m%{$FG[129]%}) %{$fg_bold[green]%}%D{[%H:%M:%S]} %{$reset_color%}%{$fg_bold[cyan]%}[%~]%{$reset_color%} $(git_prompt_info) $(kube_ps1) $(git_prompt_status)\ | |
| %(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )%{$reset_color%} ' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="%{$FG[018]%}[" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_DIRTY="✍ " | |
| ZSH_THEME_GIT_PROMPT_CLEAN="" | |
| ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}(%{%G✚%} )" | |
| ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[blue]%}(%{%G✹%} )" | |
| ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}(%{%G✖%} )" |
| # enable bash completion in interactive shells | |
| if ! shopt -oq posix; then | |
| if [ -f /usr/share/bash-completion/bash_completion ]; then | |
| . /usr/share/bash-completion/bash_completion | |
| elif [ -f /etc/bash_completion ]; then | |
| . /etc/bash_completion | |
| fi | |
| fi |