@codeyard/heroculer
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Moleculer logo


🚀 Deploy your Moleculer microservices to multiple Heroku apps.

NPM version


Install

$ npm install @codeyard/heroculer --save

Usage

Initialize remote repositories with your heroculer.yml config file

$ heroculer init -f heroculer.yml

heroculer.yml

version: "1.0"

services:
  - api:
      app_name: heroculer-demo-api
      env_file: demo.env
      environment:
        - SERVICES: api
        - SERVICEDIR: services
        - PORT: 80
        - TRANSPORTER: <TRANSPORTER_LINK>
      processes:
        - web: 1
  - products:
      app_name: heroculer-demo-products
      env_file: demo.env
      environment:
        - SERVICES: products
        - SERVICEDIR: services
        - PORT: 3000
        - TRANSPORTER: <TRANSPORTER_LINK>
      processes:
        - web: 0
        - worker: 1
  - greeter:
      app_name: heroculer-demo-greeter
      env_file: demo.env
      environment:
        - SERVICES: greeter
        - SERVICEDIR: services
        - PORT: 3000
        - TRANSPORTER: <TRANSPORTER_LINK>
      processes:
        - web: 0
        - worker: 1

Important notes


Use SERVICES environment variable to manage which microservice should run inside your Heroku application.


License

The project is available under the MIT license.

Contact

Copyright (c) 2016-2019 MoleculerJS

@moleculerjs @MoleculerJS

/@codeyard/heroculer/

    Package Sidebar

    Install

    npm i @codeyard/heroculer

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    12.3 kB

    Total Files

    15

    Last publish

    Collaborators

    • iujlaki