Quickstart:
make setup infra/up services/up
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 |
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. |
Before running the services they must be built first.
Build all services in parallel:
make build/all
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
Starting, stopping, and restarting services.
To create the docker network run:
make setup
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