Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 871 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 871 Bytes

Docker image for SSDB

This repository contains Dockerfile to build an image that dock SSDB service.

Usage

Build this image

The pre-built image is published in Docker Hub with name expert/ssdb

To build it yourself, run this command on project directory:

$ docker build -t <your_image_name_here>[:<tag name>] .

Run service

Run with default configuration:

$ docker run -d -p 8888:8888 expert/ssdb 

NOTE: Replace -p 8888:8888 with -p <your_external_port>:8888

Run with custom configuration

$ docker run -d --name <your_container_name> \
	-p <your_external_port>:8888 \
	-v <data_folder_on_host>:/usr/local/ssdb/var/data:rw \
	-v <meta_folder_on_host>:/usr/local/ssdb/var/meta:rw \
	[-v <location_of_config_file_on_host>:/usr/local/ssdb/ssdb.conf] \
	expert/ssdb

By default logs are written to stdout