From 9b6bce122f11e4a04b0460a4f6809faa84bf0e3d Mon Sep 17 00:00:00 2001 From: Tomohiro Taira Date: Tue, 22 Mar 2022 20:21:06 +0900 Subject: [PATCH] Support Docker Compose v2 --- README.md | 14 ++++++++++++++ compose.yml | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 compose.yml diff --git a/README.md b/README.md index 6ed099d..7ab68c6 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,20 @@ $ docker pull tomohiro/fluentular:latest $ docker run -d -p 8080:8080 tomohiro/fluentular:latest ``` + +#### Own build + +Also you can build the app when after clone this repository: + +``` +$ cd fluentular +$ docker compose up -d +$ docker compose ps +NAME COMMAND SERVICE STATUS PORTS +fluentular-app-1 "bundle exec rackup …" app running (healthy) 0.0.0.0:8080->8080/tcp +``` + + ### AWS Elastic Beanstalk Supported Platforms: diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..30679ab --- /dev/null +++ b/compose.yml @@ -0,0 +1,5 @@ +services: + app: + build: . + ports: + - 8080:8080