Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/utensils/docker-lobsters

Lobsters in a minimal Docker container.
https://github.com/utensils/docker-lobsters

docker docker-compose lobsters rails ruby

Last synced: about 2 months ago
JSON representation

Lobsters in a minimal Docker container.

Awesome Lists containing this project

README

        

# Lobste.rs in a minimal Docker image

[![CircleCI](https://circleci.com/gh/utensils/docker-lobsters.svg?style=svg)](https://circleci.com/gh/utensils/docker-lobsters) [![Docker Pulls](https://img.shields.io/docker/pulls/utensils/lobsters.svg)](https://hub.docker.com/r/utensils/lobsters/) [![Docker Stars](https://img.shields.io/docker/stars/utensils/lobsters.svg)](https://hub.docker.com/r/utensils/lobsters/) [![](https://images.microbadger.com/badges/image/utensils/lobsters.svg)](https://microbadger.com/images/utensils/lobsters "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/version/utensils/lobsters.svg)](https://microbadger.com/images/utensils/lobsters "Get your own version badge on microbadger.com")

## About

This repo contains a working example of how to use and deploy [Lobsters][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][ruby-alpine])

## Quick Start

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

```shell
git clone [email protected]: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][mariadb image].
This will serve up Lobsters at http://localhost:3000/

```shell
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
```

[lobsters]: https://github.com/lobsters/lobsters
[ruby-alpine]: https://hub.docker.com/_/ruby/
[mariadb image]: https://hub.docker.com/_/mariadb/