kigster / app-example

An example Grouparoo deployment

Home Page:https://hub.docker.com/r/grouparoo/app-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grouparoo app-example

Node.js CI

I am an example Grouparoo deployment. This project includes:

  • An example package.json for using Grouparoo and a few common plugins.
  • An example Procfile for Heroku-like deployments.
  • An example Dockerfile for building a docker image from this project, along with a docker-compose.yml for linking Grouparoo to associated services (Redis and Postgres), and splitting work between web and worker nodes.
  • Example Kubernetes files to deploy this application to AWS EKS.

Learn more at https://www.grouparoo.com/docs/deployment

I am built automatically to https://hub.docker.com/r/grouparoo/app-example yielding the grouparoo/app-example docker image. I am tested automatically via Github Actions against multiple versions of node.js.

Deploy to Heroku

Deploy to Heroku

Run locally with Docker & Docker Compose

Assuming you have Docker installed:

# in a new directory
curl -L https://www.grouparoo.com/docker-compose --output docker-compose.yml
docker-compose up

To run me locally:

  1. Clone this repo (git clone https://github.com/grouparoo/app-example.git)
  2. Ensure that you have node.js (v12+), Redis, and Postgres installed locally
  3. cp .env.example .env and check that those values work for your local setup
  4. npm install
  5. npm start

Grouparoo releases stable versions against the latest npm tag, but also releases weekly against the next npm tag. To try the newest versions of grouparoo (our "Beta" builds), change "latest" to "next" within the package.json, and then run npm install again. You can learn more about the Grouparoo release process here.

About

An example Grouparoo deployment

https://hub.docker.com/r/grouparoo/app-example

License:Mozilla Public License 2.0


Languages

Language:Dockerfile 67.2%Language:Shell 32.8%