Guest User

Msoy Server Configuration

a guest
Jul 22nd, 2016
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.18 KB | None | 0 0
  1. #
  2. # $Id$
  3. #
  4. # Configuration for a MetaSOY! server installation
  5.  
  6. #
  7. # Is this a development deployment?
  8.  
  9. dev_deployment = true
  10.  
  11. #
  12. # The public URL that should be used to access this Whirled installation. This
  13. # URL *must* end in a slash.
  14.  
  15. # server_url = http://www.whirled.com/
  16.  
  17. #
  18. # The hostname used by the Presents client to connect to the server
  19.  
  20. server_host = 25.4.166.203
  21.  
  22. #
  23. # The port on which the world server listens to Flash's socket policy requests.
  24.  
  25. socket_policy_port = 47623
  26.  
  27. #
  28. # The port on which the server listens for client and HTTP connections.
  29.  
  30. server_ports = 47624
  31. http_port = 8080
  32.  
  33. #
  34. # A regular expression used to extract the node id from our hostname. In
  35. # production we use this instead of explicit node names to determine our node
  36. # id and name. Developer installations should leave this commented out.
  37.  
  38. # host_node_pattern = whirled([0-9]+).luna.threerings.net
  39.  
  40. #
  41. # A pattern used to generate the server_host value for nodes based on their
  42. # node id using printf-style formatting. In production we would use:
  43. #
  44. # server_host_pattern = whirled%d.whirled.com
  45. #
  46. # A developer installation should leave this value commented out.
  47.  
  48. # server_host_pattern = whirled%d.whirled.com
  49.  
  50. #
  51. # If uncommented, this value will be used to adjust the server_ports and
  52. # http_port settings for each node by adding this offset and the node's id to
  53. # the default values for those configurations like so:
  54. #
  55. # node_value = default_value + node_port_offset + node_id
  56. #
  57. # So if you set http_port to 8080 and node_port_offset to -1 then:
  58. #
  59. # msoy1.http_port = 8080 (default) + -1 (offset) + 1 (node id) = 8080
  60. # msoy1.http_port = 8080 (default) + -1 (offset) + 2 (node id) = 8081
  61. # etc.
  62. #
  63. # The same goes for the server_ports values. This is only useful for local
  64. # developer's deployments where they run multiple servers on the same machine.
  65.  
  66. # node_port_offset = -1
  67.  
  68. #
  69. # If this server is running as a part of a cluster, this value should be set to
  70. # a shared secret that will be used to authenticate with other servers in the
  71. # cluster. If it is left commented out, the server will run standalone.
  72.  
  73. # server_secret = Is it secret? Is it safe?
  74.  
  75. #
  76. # The directory from which the server is run. Used to put log files in the
  77. # proper location and things like that.
  78.  
  79. server_root = /home/user/Desktop/msoy
  80.  
  81. #
  82. # Whether or not to log HTTP requests to log/access_NODE.log.yyyy_mm_dd
  83.  
  84. # log_http_requests = false
  85.  
  86. #
  87. # Auto-restart server if code changes (used on dev server)
  88.  
  89. # auto_restart = false
  90.  
  91. #
  92. # How many milliseconds an invoker unit may run before it's logged as a warning.
  93.  
  94. # long_invoker_unit = 3000
  95.  
  96. #
  97. # Email addresses used by the server
  98.  
  99. from_address = "Whirled Mailbot" <peas@whirled.com>
  100. agents_address = "Whirled Agents" <msoy-agents@threerings.net>
  101. cashout_address = "Whirled Cash Outs" <blingcashout@threerings.net>
  102.  
  103. #
  104. # Configures the group used to determine who is eligible for issue assignment
  105.  
  106. # issue_group_id = 0
  107.  
  108. #
  109. # Configures the group used for global announcements
  110.  
  111. # announce_group_id = 0
  112.  
  113. #
  114. # Configures the group used for selecting new users' startup gifts
  115.  
  116. # startup_group_id = 0
  117.  
  118. #
  119. # Configures the group used for any game that has no group
  120.  
  121. # default_game_group_id = 0
  122.  
  123. #
  124. # Configures the member or members used for staff favorites
  125.  
  126. # shop_favorites_member_ids = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
  127.  
  128. #
  129. # Rooms winning the most recent Design Your Whirled contest, displayed on the main rooms page.
  130. # These are in order starting with 1st place, 2nd, 3rd, five honorable mentions, then some
  131. # number of 'too cool for school' runners-up.
  132.  
  133. # contest_winning_scene_ids = 9, 7, 4, 12, 11, 5, 6, 8, 10
  134.  
  135. #
  136. # Defines the directory into which uploaded media will be stored (in addition
  137. # to S3, if that is enabled) and the URL from which media will be downloaded.
  138. # These URLs (but not the dir) *must* end in a slash.
  139.  
  140. media_dir = /home/user/Desktop/msoy/pages/media
  141. media_url = http://25.4.166.203:8080/media/
  142. static_media_url = http://25.4.166.203:8080/media/static/
  143.  
  144. #
  145. # S3-backed media storage configuration.
  146.  
  147. # media_s3enable = true
  148. # media_s3bucket = media.whirled.com
  149. # media_s3id = AWS ID
  150. # media_s3key = SECRET KEY
  151.  
  152. #
  153. # Cloudfront distribution, if any
  154. # cloud_distribution =
  155. # cloud_id = AWS ID
  156. # cloud_key = SECRET KEY
  157.  
  158. #
  159. # Amazon hands out its private key in RSA PEM format. Java expects DER through its PKCS8 reader:
  160. # openssl pkcs8 -topk8 -in pk-XXX.pem -nocrypt -outform DER -out pk-XXX.der
  161. # openssl base64 -e -in pk-XXX.der
  162. # You can NOT simply copy the Base64-looking lines from the PEM file!
  163. #
  164. # cloud_signing_key_id = id of aws key pair dedicated to signing cloudfront URLs
  165. # cloud_signing_key = the Base64-encoded DER translation of (private half of) the signing key
  166.  
  167. #
  168. # Flash needs signed references to crossdomain.xml and MediaStub.swf. Create these (near)-infinite-expiration ones with:
  169. # bin/cloudfront signepoch ${media_url}/crossdomain.xml 2147483647
  170. # bin/cloudfront signepoch ${media_url}/MediaStub.swf 2147483647
  171. # else if unset, it defaults to ${media_url}crossdomain.xml and ${media_url}MediaStub.swf
  172. xdom_url = http://25.4.166.203:8080/media/crossdomain.xml
  173. stub_url = http://25.4.166.203:8080/media/MediaStub.swf
  174.  
  175. #
  176. # This is where ToyBox looks for uploaded game jar files
  177.  
  178. toybox.resource_dir = /home/user/Desktop/msoy/media
  179.  
  180. #
  181. # Our Postgres database configuration
  182.  
  183. db.default.server = localhost
  184. db.default.port = 5432
  185. db.default.database = msoy
  186. db.default.username = root
  187. db.default.password = virtuedev2016
  188.  
  189. db.readonly.maxconns = 1
  190. db.readwrite.maxconns = 1
  191.  
  192. #
  193. # Bits for the OOO authenticator
  194.  
  195. oooauth.login_url = /register/register.wm?from=%R
  196. oooauth.access_denied_url = /register/access_denied.wm
  197.  
  198. #
  199. # Connection details for the event log server. The spool directory is relative
  200. # to the server_root unless it starts with /.
  201.  
  202. # event_remote_uri = s3://<access_id>:<access_key>@<event_bucket>/
  203. # event_log_spool_dir = run
  204.  
  205. # Set the following to true, to display Panopticon messages as they're being logged
  206. # event_log_debug = false
  207.  
  208. #
  209. # Messaging properties used to communicate with other systems, such as billing
  210.  
  211. # messaging.server.addresses=localhost:5672
  212. # messaging.server.virtualhost=localhost
  213. # messaging.server.username=whirled
  214. # messaging.server.password=PASSWORD
  215. # messaging.server.realm=/data
  216. # messaging.server.heartbeat=0
  217. # messaging.server.replyTimeout=4000
  218.  
  219. #
  220. # Jabber component configuration
  221. #
  222. # jabber.host = localhost
  223. # jabber.port = 5275
  224. # jabber.secret = secret
  225. # jabber.gateways = aim,msn,yahoo,icq
  226.  
  227. #
  228. # Keys for accessing the reCAPTCHA verification service
  229.  
  230. # recaptcha_public = RECAPTCHA_PUBLIC_KEY
  231. # recaptcha_private = RECAPTCHA_PRIVATE_KEY
  232.  
  233. # Keys for operating bureau launchers
  234.  
  235. local_bureaus = true
  236. # bureau_secret = you can't guess this
  237. # window_secret = only the computer knows
  238.  
  239. # Static log settings for action script deployments (default is to log everything, see Log.as)
  240. # log_levels_config = :warning;com.threerings.msoy:info
  241.  
  242. #
  243. # URL Whirled should send the user to when they need to go to billing
  244.  
  245. billing_url = https://billing.dev.whirled.com/billing/
  246.  
  247. # Account ID for Google Analytics
  248. ga_account = UA-169037-5
Add Comment
Please, Sign In to add comment