The Minos Docker compose take long time to compile and fire up, the problem is more relevant if i have to purge the docker and reinstall from scratch. have a way to reduce that time?
this is the docker compose code:
...
microservice-project:
restart: always
build:
context: microservices/project
target: production
environment: &id001
MINOS_BROKER_QUEUE_HOST: postgres
MINOS_BROKER_HOST: kafka
MINOS_REPOSITORY_HOST: postgres
MINOS_SNAPSHOT_HOST: postgres
MINOS_DISCOVERY_HOST: apigateway
depends_on: &id002
- postgres
- kafka
- apigateway
microservice-product:
restart: always
build:
context: microservices/product
target: production
environment: *id001
depends_on: *id002
microservice-user:
restart: always
build:
context: microservices/user
target: production
environment: *id001
depends_on: *id002
microservice-github:
restart: always
build:
context: microservices/github
target: production
environment: *id001
depends_on: *id002
x-microservice-environment: *id001
x-microservice-depends-on: *id002