marsoon

0.0.0 • Public • Published

marsoon

Export fig.yml to Diagram Graph. No just only fig.yml.

This feature will be merged into Dockerboard.

Quick Start

fig.yml

db:
  image: postgres
  ports:
    - "5432"
web:
  build: .
  command: bundle exec rackup -p 3000
  volumes:
    - .:/myapp
  ports:
    - "3000:3000"
  links:
    - db

json data

{
  "db": {
    "image": "postgres",
    "ports": [
      "5432"
    ]
  },
  "web": {
    "build": ".",
    "command": "bundle exec rackup -p 3000",
    "volumes": [
      ".:/myapp"
    ],
    "ports": [
      "3000:3000"
    ],
    "links": [
      "db"
    ]
  }
}

Diagram Graph

Diagram Graph Web-db

Mermaid Graph

graph LR;
  db[db];
  style db fill:#484F40;
  web[web];
  style web fill:#484F40;
  web-->db;

Package Sidebar

Install

npm i marsoon

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • fundon