0.0.0 • Published 11 years ago

marsoon v0.0.0

Weekly downloads
10
License
MIT
Repository
github
Last release
11 years ago

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;