/mts-services

Primary LanguageJavaMIT LicenseMIT

A base repo for all microservices

Running locally using docker compose

Option 1 (default) - All services in local mode, without service discovery nor config

Note: discovery and config will start but will not be used.

Either define PROFILE as local or leave it empty.

export PROFILE=local
docker-compose up -d

in order to skip loading discovery and config, 0 instances can be specified:

export PROFILE=local
docker-compose up -d --scale discovery-server=0 --scale config-server=0

Option 2 - All services (including discovery and config)

In this example 'dev' was chosen, however any profile can be set.

export PROFILE=dev
docker-compose up -d