Skip to content

Binary Studio Academy | 2020 | .NET | buildeR - is an analog of Jenkins / Travis CI which purpose is to build and deploy user projects.

License

Notifications You must be signed in to change notification settings

BinaryStudioAcademy/bsa-2020-buildeR

Repository files navigation

BSA 2020 | buildeR

Binary Studio Academy | 2020 | .NET buildeR is an analog of Jenkins which purpose is to build and deploy user projects.

DEMO

Production:

Building sources

By default, apps run on the following ports:

Application Port
buildeR.API 5050
buildeR.Processor 5060
buildeR.SignalR 5070
buildeR.Angular 80 or 4200
RabbitMQ 5672
Vault 8200
Elasticsearch 9200
Kibana 5601
kafka 9092 or 29092 as internal

Docker:

  1. Make sure you have Docker and Docker Compose.
  2. Pull this repo to your machine.
  3. You can build and run all application containers via docker-compose up command.
  4. You can pull and run all 3rd-party services (Vault,ELK,RabbitMQ) via docker-compose -f docker-compose.services.yml up -d command.
  5. Happy coding! 😎

Environment variables

This is a list of the required environment variables:

Vault:

  1. KV Secrets Engine v2 is used.
  2. Class SecretService use two environment variables: VAULT_TOKEN_ID and VAULT_ADDRESS. VAULT_TOKEN_ID is an authentication token, given by vault server. VAULT_ADDRESS is an address of vault server (example: http://localhost:8200).

RabbitMQ:

  1. Enviroment keys: RABBIT_MQ_HOST_NAME - for hostname, RABBIT_MQ_USERNAME - for username, RABBIT_MQ_PASSWORD - for user password

SendGrid

  1. Enviroment keys: SENDGRID_API_KEY - send grid api key, SENDGRID_EMAIL - email sender, SENDGRID_Name - sender name