Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 1.22 KB

README.md

File metadata and controls

50 lines (27 loc) · 1.22 KB

crm-docker

Let's startup every client with a single command

Must have

chocolatey

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

Packages

choco install -y docker
choco install -y docker-machine
choco install -y docker-machine-vmwareworkstation

Steps that must be automated

Set ENV

Once you specify the environemtn from start.bat, that value must flow until docker-compose env file and replace both the names of nginx and node hostname and the folder they munt for the plugins, lucklily they have all the same name!

first time

docker-machine create -d vmwareworkstation default

docker-machine start | iex

everyday

docker-machine start

docker-machine start | iex

Usage

Linux

start.sh

docker-compose rm --all && docker-compose pull && docker-compose build --no-cache && docker-compose up -d --force-recreate

Windows

start.bat

docker-compose rm --all ; docker-compose pull ; docker-compose build --no-cache ; docker-compose up -d --force-recreate

Default

docker-compose up