##// END OF EJS Templates
configs: updated docstrings, and made some better defaults.
marcink -
r630:4142c537 default
parent child Browse files
Show More
@@ -348,7 +348,7 b' beaker.cache.repo_cache_long.expire = 25'
348 beaker.session.type = file
348 beaker.session.type = file
349 beaker.session.data_dir = %(here)s/data/sessions/data
349 beaker.session.data_dir = %(here)s/data/sessions/data
350
350
351 ## db based session, fast, and allows easy management over logged in users ##
351 ## db based session, fast, and allows easy management over logged in users
352 #beaker.session.type = ext:database
352 #beaker.session.type = ext:database
353 #beaker.session.table_name = db_session
353 #beaker.session.table_name = db_session
354 #beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
354 #beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
@@ -369,6 +369,7 b' beaker.session.lock_dir = %(here)s/data/'
369 ## accessed for given amount of time in seconds
369 ## accessed for given amount of time in seconds
370 beaker.session.timeout = 2592000
370 beaker.session.timeout = 2592000
371 beaker.session.httponly = true
371 beaker.session.httponly = true
372 ## Path to use for the cookie.
372 #beaker.session.cookie_path = /<your-prefix>
373 #beaker.session.cookie_path = /<your-prefix>
373
374
374 ## uncomment for https secure cookie
375 ## uncomment for https secure cookie
@@ -482,9 +483,10 b' debug_style = true'
482 #########################################################
483 #########################################################
483 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
484 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
484 #########################################################
485 #########################################################
485 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
486 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
486 #sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
487 #sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
487 #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode
488 #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode
489 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
488
490
489 # see sqlalchemy docs for other advanced settings
491 # see sqlalchemy docs for other advanced settings
490
492
@@ -87,7 +87,8 b' prefix = /'
87
87
88 [app:main]
88 [app:main]
89 use = egg:rhodecode-enterprise-ce
89 use = egg:rhodecode-enterprise-ce
90 ## enable proxy prefix middleware, defined below
90
91 ## enable proxy prefix middleware, defined above
91 #filter-with = proxy-prefix
92 #filter-with = proxy-prefix
92
93
93 ## encryption key used to encrypt social plugin tokens,
94 ## encryption key used to encrypt social plugin tokens,
@@ -321,7 +322,7 b' beaker.cache.repo_cache_long.expire = 25'
321 beaker.session.type = file
322 beaker.session.type = file
322 beaker.session.data_dir = %(here)s/data/sessions/data
323 beaker.session.data_dir = %(here)s/data/sessions/data
323
324
324 ## db based session, fast, and allows easy management over logged in users ##
325 ## db based session, fast, and allows easy management over logged in users
325 #beaker.session.type = ext:database
326 #beaker.session.type = ext:database
326 #beaker.session.table_name = db_session
327 #beaker.session.table_name = db_session
327 #beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
328 #beaker.session.sa.url = postgresql://postgres:secret@localhost/rhodecode
@@ -342,6 +343,7 b' beaker.session.lock_dir = %(here)s/data/'
342 ## accessed for given amount of time in seconds
343 ## accessed for given amount of time in seconds
343 beaker.session.timeout = 2592000
344 beaker.session.timeout = 2592000
344 beaker.session.httponly = true
345 beaker.session.httponly = true
346 ## Path to use for the cookie.
345 #beaker.session.cookie_path = /<your-prefix>
347 #beaker.session.cookie_path = /<your-prefix>
346
348
347 ## uncomment for https secure cookie
349 ## uncomment for https secure cookie
@@ -451,8 +453,9 b' set debug = false'
451 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
453 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
452 #########################################################
454 #########################################################
453 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
455 #sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
456 #sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
457 #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode
454 sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
458 sqlalchemy.db1.url = postgresql://postgres:qweqwe@localhost/rhodecode
455 #sqlalchemy.db1.url = mysql://root:qweqwe@localhost/rhodecode
456
459
457 # see sqlalchemy docs for other advanced settings
460 # see sqlalchemy docs for other advanced settings
458
461
General Comments 0
You need to be logged in to leave comments. Login now