Public | Automated Build

Last pushed: 3 days ago
Short Description
Docker image for Cezerin
Full Description

Supported tags and respective Dockerfile links

What is Cezerin?

Cezerin is an open-source e-commerce platform built with JavaScript only. GitHub

How to use this image

Start a cezerin server instance

on 3000 port

docker run --name cezerin cezerin/cezerin

on 80 port

docker run --name cezerin -p 80:3000 cezerin/cezerin

Docker Compose

git clone https://github.com/cezerin/docker-cezerin
cd docker-cezerin/compose
docker-compose up

Nginx

  • serve static files
  • proceed thumbnails with caching
  • if file not exists - proxy to Cezerin (NodeJS server on port 3000)

MongoDB

  • map host volume /var/www/db

Cezerin

  • map host volume /var/www/cezerin

Where to Store Data

Important note: There are several ways to store data used by applications that run in Docker containers. We encourage users of the cezerin images to familiarize themselves with the options available, including:

  • Let Docker manage the storage of your database data by writing the database files to disk on the host system using its own internal volume management. This is the default and is easy and fairly transparent to the user. The downside is that the files may be hard to locate for tools and applications that run directly on the host system, i.e. outside containers.
  • Create a data directory on the host system (outside the container) and mount this to a directory visible from inside the container. This places the database files in a known location on the host system, and makes it easy for tools and applications on the host system to access the files. The downside is that the user needs to make sure that the directory exists, and that e.g. directory permissions and other security mechanisms on the host system are set up correctly.
  1. Create a data directory on a suitable volume on your host system, e.g. /app/cezerin.
  2. Start your cezerin container like this:
docker run --name cezerin -v /app/cezerin:/var/www/cezerin -p 80:3000 cezerin/cezerin

The -v /app/cezerin:/var/www/cezerin part of the command mounts the /app/cezerin directory from the underlying host system as /var/www/cezerin inside the container, where Cezerin by default will write its data files.

Docker Pull Command
Owner
cezerin
Source Repository

Comments (0)