Skip to content

Docker image for VamShop. Based on cezerin2

License

Notifications You must be signed in to change notification settings

vamshop/docker-vamshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Supported tags and respective Dockerfile links

What is VamShop?

VamShop is React and Node.js based eCommerce platform.

How to use this image

Start a vamshop server instance

  • port: 4000
docker run -d \
--name store \
-p 4000:80 \
vamshop/vamshop:latest
  • port: 4000
  • MongoDB connection
docker run -d \
--name store \
-p 4000:80 \
-e DB_HOST=255.255.255.255 \
-e DB_PORT=27017 \
-e DB_NAME=shop \
-e DB_USER=user \
-e DB_PASS=password \
vamshop/vamshop:latest
  • port: 4000
  • MongoDB connection
  • use volume
docker run -d \
--name store \
-p 4000:80 \
-e DB_HOST=255.255.255.255 \
-e DB_PORT=27017 \
-e DB_NAME=shop \
-e DB_USER=user \
-e DB_PASS=password \
-v /var/www/vamshop-on-host:/var/www/vamshop \
vamshop/vamshop:latest

Environment variables

Name Description Default
DB_HOST MongoDB host name or IP 127.0.0.1
DB_PORT MongoDB server port 27017
DB_NAME MongoDB database name shop
DB_USER MongoDB user name
DB_PASS MongoDB user password

Image contains

  • Node.js (8.10) to run API on port 3001 and Store (Server-Side Rendering) on port 3000.
  • Nginx (1.12.2) as a reverse proxy to Node.js and dynamic image thumbnails. Port 80.

About

Docker image for VamShop. Based on cezerin2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.1%
  • Dockerfile 44.0%
  • Shell 1.9%