Skip to content

swisscat/docker-cscart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-cscart

An utility to create CS-Cart environments using docker

Installation

Install the package globally:

composer global require swisscat/docker-cscart

Ensure $PATH contains the ~/.composer/vendor/bin directory

Setup a new environment

The setup relies on an NGINX proxy. Please ensure that https://github.com/swisscat/nginx-proxy is enabled. Head to a cs-cart repository and type

docker-cscart new
docker-compose up -d

Configuration

The following docker configurations are supported in config/app.json :

Native docker integration

{
  "docker": {
    "driver": "native"
  }
}

Docker-machine integration

{
  "docker": {
    "driver": "machine",
    "machine": "default"
  }
}