From 9adbc9cf71a883b21af171c6d0f61607c315f4b6 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 7 Nov 2016 17:16:53 +1000 Subject: Example config.ini, for the basic grid / sim configuration. --- config/config.ini | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 config/config.ini (limited to 'config/config.ini') diff --git a/config/config.ini b/config/config.ini new file mode 100644 index 0000000..f60c7af --- /dev/null +++ b/config/config.ini @@ -0,0 +1,41 @@ +; ** +; * The Const section allows us to define some basic information that we +; * will use throughout our configuration. We will provide examples for +; * setting the base url of the Robust server and the public and private ports +; * it uses. Changing the values of the constants will set the operating +; * parameters thoughout the configuration. Other constants that may prove +; * to be useful may be added to the followin section. They may be +; * referenced anywhere in the configuration by using ${Const|Name}. One +; * such use is providing a base path for setting locations that Robust +; * uses to write data. + + +[Const] + MOTD = "Welcome to this virtual world." + + AssetsPath = "../../AssetFiles" + CachePath = "../../caches" + ConfigPath = "../../config" + + GridName = "My virtual world" + + ; For a grid these will usually be the externally accessible IP/DNS + ; name and use default public port 8002 and default private port 8003 + ; For a standalone this will usually be the externally accessible IP/DNS + ; name and use default public port 9000. The private port is not used + ; in the configuration for a standalone. + + ;# {BaseURL} {} {BaseURL} {"http://example.com" "http://127.0.0.1"} "http://127.0.0.1" + HostName = "localhost" + BaseURL = http://127.0.0.1 + + ;# {PublicPort} {} {PublicPort} {8002 9000} "8002" + PublicPort = "8002" + + ;# {PrivatePort} {} {PrivatePort} {8003} "8003" + PrivatePort = "8003" + + + DataProvider = "OpenSim.Data.MySQL.dll" + ConnectionString = "Data Source=localhost;Database=$MYSQL_DB;User ID=$MYSQL_USER;Password=$MYSQL_PASSWORD;Old Guids=true;" + -- cgit v1.1