Skip to content

risersh/infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

risher.sh infra

Quickstart: make setup infra/up services/up

Prerequisites

Services

Service Description Address
riser-infra-timescaledb TimescaleDB PostgreSQL database. 10.67.0.10:5432
riser-infra-rabbitmq RabbitMQ message broker. http://10.67.0.11:15672
riser-app-spa Frontend application (SPA). http://10.67.0.100:8888
riser-service-broker WebSockets service broker. 10.67.0.101:10000

Managing

Commands:

Command Description
make services/up Start all services.
make services/down Stop all services.
make services/logs View logs for all services.
make service/up SERVICE=<service> Start a single service.
make service/down SERVICE=<service> Stop a single service.
make service/restart SERVICE=<service> Restart a single service.
make service/logs SERVICE=<service> View logs for a single service.
make service/exec SERVICE=<service> Get a shell for a single service.
make service/build SERVICE=<service> Build a single service.
make service/build/all Build all services.

Building

Before running the services they must be built first.

Building all services

Build all services in parallel:

make build/all

Building a single service

Build a single, one off service:

Don't forget to make service/restart SERVICE=<service> after building!

make build/service SERVICE=riser-service-broker

or

make build/service SERVICE=riser-service-controller

Running

Starting, stopping, and restarting services.

Prerequisites

To create the docker network run:

make setup

Start infra services

To start TimescaleDB and RabbitMQ run:

make infra/up

To start the services run:

make services/up

or to start individual services run:

make service/up SERVICE=riser-service-broker

or

make service/up SERVICE=riser-service-controller

About

risher infrastructure as code.

Resources

Stars

Watchers

Forks

Releases

No releases published