Sign inSign up

javierprovecho/glot-run

By javierprovecho

Updated over 9 years ago

glot-run provides a http api for running code inside docker containers.

Image
1

1.9K

javierprovecho/glot-run repository overview

glot-snippets

Docker Stars
Docker Pulls
Image Layers
Build Status

Overview

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

Environment variables

glot-run 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
DATA_PATH<filepath>/home/app/data/Path to save data files (users, languages)
LOG_PATH<filepath>/home/app/log/Path to save logs
BASE_URL<url>https://run.glot.ioBase url to where the api is hosted
ADMIN_TOKEN<string>some-secretAdmin token used to access the /admin endpoints
DOCKER_API_URL<url>http://10.0.0.125Url to docker api (must be available through port 80 for now)
DOCKER_RUN_TIMEOUT<seconds>30Maximum number of seconds a container is allowed to run
MAX_OUTPUT_SIZE<lines>1000Maximum number of lines returned from a run

Tag summary

Content type

Image

Digest

Size

20.7 MB

Last updated

over 10 years ago

docker pull javierprovecho/glot-run