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 Gem In a Box server with docker volume mounted to /app/uploaded-gems/ and stored at $(pwd)/gems/ directory in 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
Content type
Image
Digest
sha256:c8e1785e0…
Size
129.5 MB
Last updated
over 3 years ago
docker pull selisebt/geminabox