Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/9265169 to your computer and use it in GitHub Desktop.
Save garystafford/9265169 to your computer and use it in GitHub Desktop.
For my blog post, 'Create Multi-VM Environment Using Vagrant and JSON' (http://wp.me/p1RD28-14c). JSON-based configuration file used by Vagrant to build (3) VMs. Project git repository located at: https://github.com/garystafford/multi-oracle-dev-vms.
{
"nodes": {
"apps": {
":node": "ApplicationServer-201",
":ip": "192.168.33.21",
":host": "apps.server-201",
"ports": [
{
":host": 2201,
":guest": 22,
":id": "ssh"
},
{
":host": 7709,
":guest": 7709,
":id": "wls-listen"
}
],
":memory": 2048
},
"dbs": {
":node": "DatabaseServer-301",
":ip": "192.168.33.31",
":host": "dbs.server-301",
"ports": [
{
":host": 2202,
":guest": 22,
":id": "ssh"
},
{
":host": 1529,
":guest": 1529,
":id": "xe-db"
},
{
":host": 8380,
":guest": 8380,
":id": "xe-listen"
}
],
":memory": 2048
},
"web": {
":node": "WebServer-401",
":ip": "192.168.33.41",
":host": "web.server-401",
"ports": [
{
":host": 2203,
":guest": 22,
":id": "ssh"
},
{
":host": 4756,
":guest": 4756,
":id": "apache"
}
],
":memory": 1024
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment