armand1m / microservices

A microservices environment managed by Docker Compose.
16 stars 0 forks source link

development: Commands CLI #1

Open armand1m opened 7 years ago

armand1m commented 7 years ago

Proposal

Create a CLI for handling the microservices environment state

Why we need this

To create this environment, you need to:

To add a service to the recently created environment, you need to:

  service:
    extends:
      file: ./bucket-service/service.yml
      service: service
    volumes:
      - ./data:/data
    depends_on:
      - consul
    links:
      - consul

  consul:
    extends:
      file: ./core-services/services.yml
      service: consul_service

  gateway:
    extends:
      file: ./core-services/services.yml
      service: fabio_service
    links:
      - consul