swisscat/docker-cscart

An infrastructure for cs-cart around docker


Keywords
cs-cart, cscart, docker
License
GPL-3.0

Documentation

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"
  }
}