Skip to content

Creates a local web UI to activate Dockerized ECPs for development or testing purposes.

Notifications You must be signed in to change notification settings

smaar/docker_ecp_generator

 
 

Repository files navigation

What is it

Docker eCommerce platforms is a web interface that comes pre-packaged with localhost Docker Compose projects.

The aim of this project is to provide developers minimal effort to set up eCommerce platforms to test extensions or to get a feel of the platform.

Getting started (normal)

Run the following command in terminal:

UNIX

docker run -d --name docker-ecps -p 5000:5000 -w /opt/docker-compose-projects/ -v /var/run/docker.sock:/var/run/docker.sock matt1919/docker-ecps

WINDOWS

docker run -d --name docker-ecps -p 5000:5000 -w //opt/docker-compose-projects/ -v //var/run/docker.sock:/var/run/docker.sock matt1919/docker-ecps

You can then connect to the UI at http://localhost:5000

Getting started (development)

Run the following command in terminal:

docker build --tag docker-ecps .

Then run the command below that matches your OS:

UNIX

docker run -d --name docker-ecps -p 5000:5000 -w /opt/docker-compose-projects/ -v /var/run/docker.sock:/var/run/docker.sock docker-ecps

WINDOWS

docker run -d --name docker-ecps -p 5000:5000 -w //opt/docker-compose-projects/ -v //var/run/docker.sock:/var/run/docker.sock docker-ecps

You can then connect to the UI at http://localhost:5000

When done with your changes, you can push to DockerHub by running the 2 commands below. Only do this if you have permissions to do so:

docker tag docker-ecps matt1919/docker-ecps:latest
docker push matt1919/docker-ecps

Monitoring

You can use anything you want! I personally use Docker Desktop or Portainer depending on the environment.

Add your own docker-compose projects

You add projects into demo-projects/* and rebuild the image for them to take affect.

Notes

About

Creates a local web UI to activate Dockerized ECPs for development or testing purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 31.9%
  • Python 29.8%
  • HTML 25.3%
  • CSS 7.1%
  • Dockerfile 2.9%
  • Shell 2.0%
  • Less 1.0%