utensils / docker-lobsters

Lobsters in a minimal Docker container.

Home Page:https://github.com/lobsters/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lobste.rs in a minimal Docker image

CircleCI Docker Pulls Docker Stars

About

This repo contains a working example of how to use and deploy Lobsters within a Docker environment.
I have decided to create this project to assist anyone else wanting to get started with Lobsters quickly using Docker.

This image is built off of the official Ruby Docker image (ruby:2.7-alpine)

Quick Start

Using this repository.
This will serve up Lobsters at http://localhost/

git clone git@github.com:utensils/docker-lobsters.git
cd docker-lobsters
git submodule update --init --recursive
make
docker-compose up

Using the prebuilt docker hub build and official MariaDB image.
This will serve up Lobsters at http://localhost:3000/

docker run --name lobsters -v lobsters_data:/var/lib/mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=lobsters -d mariadb
docker run -p 3000:3000 --link lobsters:mariadb utensils/lobsters

About

Lobsters in a minimal Docker container.

https://github.com/lobsters/

License:MIT License


Languages

Language:Ruby 31.3%Language:Dockerfile 29.6%Language:Makefile 22.5%Language:Shell 16.6%