burkostya / docker-elliptics

Dockerfile to build image with elliptics as a part of cocaine cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contents

Introduction

Dockerfile to build image with elliptics.

For now this image is just a part of basic cocaine cloud installation.

Version

Current Version: 2.25.5.1

Installation

Pull the latest or specific version of the image from the docker index. This is the recommended method of installation as it is easier to update image in the future. These builds are performed by the Docker Trusted Build service.

docker pull burkostya/elliptics:2.25.5.1

Alternately you can build the image yourself.

git clone https://github.com/burkostya/docker-elliptics.git
cd docker-elliptics
docker build -t '<user>/elliptics' .

Quick Start

Run container

docker run --name=elliptics -i -t --rm \
  -p 1025:1025 \
  burkostya/elliptics:2.25.5.1

Configuration

Data Store

For data persistency you should mount a volume

/opt/elliptics

Volumes can be mounted in docker by specifying the '-v' option in the docker run command.

mkdir /opt/data/elliptics
docker run --name=elliptics -d \
  -p 1025 \
  -v /opt/data/elliptics:/opt/elliptics \
  burkostya/elliptics:2.25.5.1
  • Start the image
docker run --name=elliptics -d \
  -p 1025:1025 \
  -v /opt/data/elliptics:/opt/elliptics \
  burkostya/elliptics:2.25.5.1

About

Dockerfile to build image with elliptics as a part of cocaine cloud

License:MIT License


Languages

Language:Shell 100.0%