Skip to content

sabau/crm-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published