Skip to content

Settings file database.yml

The file stores core CLI users settings and server applications settings.The database.yml file is a text file in YAML markup language, for example:

users:
  admin: {username: admin, password: 21232f297a57a5a743894a0e4a801fc3, active: true}
  demo: {username: demo, password: fe01ce2a7fbac8fafaed7c982a04e229, active: true}
apps:
  flashStreamingApp: {name: flashStreamingApp, key: flashStreamingApp, url: 'http://localhost:9091/EchoApp',
    handler: com.flashphoner.server.client.handler.wcs4.FlashStreamingHandler, callback: com.flashphoner.server.client.handler.wcs4.FlashStreamingCallbackHandler}
  conferenceApp: {name: conferenceApp, key: conferenceApp, url: 'http://localhost:9091/ConferenceApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  flashChatApp: {name: flashChatApp, key: flashChatApp, url: 'http://localhost:9091/ChatApp',
    handler: com.flashphoner.server.client.handler.wcs4.FlashStreamingHandler, callback: com.flashphoner.server.client.handler.wcs4.FlashStreamingCallbackHandler}
  clickToCallApp: {name: clickToCallApp, key: clickToCallApp, url: 'http://localhost:9091/ClickToCallApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  flashRoomApp: {name: chatRoomApp, key: flashRoomApp, url: 'http://localhost:9091/RoomApp',
    handler: com.flashphoner.server.client.handler.wcs4.FlashRoomHandler, callback: com.flashphoner.server.client.handler.wcs4.FlashStreamingCallbackHandler}
  callApp: {name: callApp, key: callApp, url: 'http://localhost:9091/CallApp', handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler,
    callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  defaultApp: {name: defaultApp, key: defaultApp, url: 'http://localhost:9091/EchoApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  websocketChatApp: {name: websocketChatApp, key: websocketChatApp, url: 'http://localhost:9091/ChatApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  roomApp: {name: chatRoomApp, key: roomApp, url: 'http://localhost:9091/RoomApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}
  chatRoomApp: {name: chatRoomApp, key: chatRoomApp, url: 'http://localhost:9091/ChatRoomApp',
    handler: com.flashphoner.server.client.handler.wcs4.WCS4Handler, callback: com.flashphoner.server.client.handler.wcs4.WCS4CallbackHandler}

The file can be modified manually if necessary, however it is recommended to use appropriate core CLI commands for this purpose.