Supported tags and respective Dockerfile links
What is Cezerin?
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
git clone https://github.com/cezerin/docker-cezerin cd docker-cezerin/compose docker-compose up
- serve static files
- proceed thumbnails with caching
- if file not exists - proxy to Cezerin (NodeJS server on port 3000)
- map host volume /var/www/db
- 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.
- Create a data directory on a suitable volume on your host system, e.g. /app/cezerin.
- Start your cezerin container like this:
docker run --name cezerin -v /app/cezerin:/var/www/cezerin -p 80:3000 cezerin/cezerin
-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.