Sign inSign up

javierprovecho/glot-snippets

By javierprovecho

Updated over 10 years ago

glot-snippets provides a http api for storing and managing snippets.

Image
2

10K+

javierprovecho/glot-snippets repository overview

glot-snippets

Docker Stars
Docker Pulls
Image Layers
Build Status

Overview

This is a Docker image for glot-snippets (by Petter Rasmussen (@prasmussen)).

Environment variables

glot-snippets takes it's configuration from environment variables. All vars needs to be set, no default values are provided.

Variable nameAllowed valuesExampleDescription
API_ENVIRONMENTdevelopment | productionproductionDevelopment mode will enable auto compiling of changed files
API_HTTP_LISTEN_IP<ipv4 address>0.0.0.0Listen ip
API_HTTP_LISTEN_PORT1-655358090Listen port
LOG_PATH<filepath>/home/app/log/Path to save logs
BASE_URL<url>https://snippets.glot.ioBase url to where the api is hosted
ADMIN_TOKEN<string>some-secretAdmin token used to access the /admin endpoints
DB_URL<url>http://10.0.0.9:5984Url to CouchDB
DB_USER<string>glotCouchDB user
DB_PASSWORD<string>secret-passwordCouchDB password

Tag summary

Content type

Image

Digest

Size

20.9 MB

Last updated

over 10 years ago

docker pull javierprovecho/glot-snippets