Skip to content

Instantly share code, notes, and snippets.

@gkumarau
Created September 24, 2018 02:36
Show Gist options
  • Save gkumarau/c89aee9435162911becac044b90958f1 to your computer and use it in GitHub Desktop.
Save gkumarau/c89aee9435162911becac044b90958f1 to your computer and use it in GitHub Desktop.
This is an example of JSON based environment configuration file where IP address is duplicated multiple times.
{
"environment_config": {
"app": {
"name": "Sample App",
"url": "http://10.0.0.120:8080/app/",
},
"database": {
"name": "mysql database",
"host": "10.0.0.120",
"port": 3128,
"username": "root",
"password": "toor",
},
"rest_api": "http://10.0.0.120:8080/v2/api/"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment