Export fig.yml
to Diagram Graph. No just only fig.yml
.
This feature will be merged into Dockerboard.
db:
image: postgres
ports:
- "5432"
web:
build: .
command: bundle exec rackup -p 3000
volumes:
- .:/myapp
ports:
- "3000:3000"
links:
- db
{
"db": {
"image": "postgres",
"ports": [
"5432"
]
},
"web": {
"build": ".",
"command": "bundle exec rackup -p 3000",
"volumes": [
".:/myapp"
],
"ports": [
"3000:3000"
],
"links": [
"db"
]
}
}
graph LR;
db[db];
style db fill:#484F40;
web[web];
style web fill:#484F40;
web-->db;