Public | Automated Build

Last pushed: a year ago
Short Description
glot-snippets provides a http api for storing and managing snippets.
Full Description

glot-snippets




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 name Allowed values Example Description
API_ENVIRONMENT development | production production Development mode will enable auto compiling of changed files
API_HTTP_LISTEN_IP <ipv4 address> 0.0.0.0 Listen ip
API_HTTP_LISTEN_PORT 1-65535 8090 Listen port
LOG_PATH <filepath> /home/app/log/ Path to save logs
BASE_URL <url> https://snippets.glot.io Base url to where the api is hosted
ADMIN_TOKEN <string> some-secret Admin token used to access the /admin endpoints
DB_URL <url> http://10.0.0.9:5984 Url to CouchDB
DB_USER <string> glot CouchDB user
DB_PASSWORD <string> secret-password CouchDB password
Docker Pull Command
Owner
javierprovecho
Source Repository

Comments (0)