Skip to content

SELISEdigitalplatforms/geminabox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gem in a Box

A simple way to deploy Gem in a Box server.

Build

docker build -t geminabox:tag .

Run

docker run -it -v $(pwd)/gems/:/app/uploaded-gems/ -e ADMIN_PASSWORD=test -e ADMIN_USERNAME=test -p 3000:3000 gems

This runs the Gem In a Box server with docker volume mounted to /app/uploaded-gems/ and stored at $(pwd)/gems/ directory in the host machine.

The image required ADMIN_PASSWORD and ADMIN_USERNAME environment variables.

If successfully started Gem In a Box will be available at http://localhost:3000

To pull and use this docker directly

docker run -it -v $(pwd)/gems/:/app/uploaded-gems/ -e ADMIN_PASSWORD=test -e ADMIN_USERNAME=test -p 3000:3000 selisebt/geminabox:latest