Skip to content

utensils/docker-lobsters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d83e925 · Jan 27, 2021

History

29 Commits
Aug 6, 2019
Jan 27, 2021
Mar 26, 2018
Jan 27, 2021
Aug 6, 2019
Apr 2, 2018
Mar 26, 2018
Jan 27, 2021
Feb 5, 2019
Sep 15, 2020
Sep 15, 2020
Aug 6, 2019

Repository files navigation

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