Use an uri for redis server

master
Daniel Berteaud 9 years ago
parent 9b45c7173e
commit 0fcd630d82
  1. 4
      conf/settings.ini.dist
  2. 2
      lib/Vroom/Conf.pm

@ -3,8 +3,8 @@
;dsn = 'DBI:mysql:database=devroom;host=localhost'
;user = 'vroom'
;password = 'password'
; Redis server
;redis = 'localhost:6379'
; Redis server URI
;redis = 'redis://127.0.0.1:6379'
[turn]
; The stun server sent to client. You can set it to your own stun server. Takes a comma separated list of full

@ -17,7 +17,7 @@ sub get_conf(){
$config->{'database.dsn'} ||= 'DBI:mysql:database=vroom;host=localhost';
$config->{'database.user'} ||= 'vroom';
$config->{'database.password'} ||= 'vroom';
$config->{'database.redis'} ||= 'localhost:6379';
$config->{'database.redis'} ||= 'redis://127.0.0.1:6379/';
$config->{'signaling.uri'} ||= 'https://vroom.example.com/';
$config->{'turn.stun_server'} ||= 'stun.l.google.com:19302';
$config->{'turn.turn_server'} ||= undef;

Loading…
Cancel
Save