This repository has been archived by the owner on Jan 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 88
/
room_sample.conf
105 lines (84 loc) · 2.71 KB
/
room_sample.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Sample configuration file for Bitcoin Poker Room
#
# rename this file to room.conf and set correctly all
# settings for password, urls, ssl hosts, etc
#
# rename this file to room.yml and put a ':' after 'name' if
# you want to use YAML like in old versions of Catalyst
name the room
slogan bitcoins & poker
secure_https 0
offline 0
<Model PokerNetwork>
schema_class Room::Schema::PokerNetwork
<connect_info>
dsn dbi:mysql:[pythonpokernetwork]
user [python-poker-net]
password [python-poker-net user password]
</connect_info>
pokernetwork_memcache_servers 127.0.0.1:11211
</Model>
<Model BitcoinServer>
uri http://rpcuser:rpcpassword@localhost:8332/
</Model>
<require_ssl>
https [https host (just host name without https:// or /)]
http [http host (just host name without https:// or /)]
remain_in_ssl 1
no_cache 0
</require_ssl>
# If you are running built in server and apache proxy - uncomment this
# using_frontend_proxy 1
# Add here you UA google analytics account. Comment to disable tracking.
google_analytics_account UA-XXXXXX-1
# Gravatar size. Default - 60x60 pixels
gravatar_size 60
# From email
site_email [email protected]
# Twitter keys
twitter_consumer_key KEY
twitter_consumer_secret SECRET
twitter_access_token TOKEN
twitter_access_token_secret TOKEN-SECRET
# If unsure make following settings default
<Log::Handler>
filename log/room.log
fileopen 1
mode append
newline 1
minlevel 0
maxlevel 7
</Log::Handler>
# Should FormFu add unique token to each form? Prevents CSRF attacks.
<Controller::HTML::FormFu>
request_token_enable 1
</Controller::HTML::FormFu>
<session>
flash_to_stash 1
expires 50400
</session>
# Social links
github https://github.com/betcoin/room
irc http://webchat.freenode.net/?channels=betco.in
rss http://betcoin.blogspot.com/feeds/posts/default?alt=rss
twitter http://twitter.com/betcoin
facebook http://www.facebook.com/pages/Texas-Holdem-with-Bitcoins/217143734980207
# Python Poker Network REST URL. Default is /POKER_REST
# rest_url http://rest.bitcoinpoker/POKER_REST
# Settings used to generate table-specific REST URLs.
# This is may required for avoiding 6 concurrent connections
# limit in most browsers. With rest_url_per_table = 1 application
# will generate individual URLs for each table like this:
# http://table-999.example.com/POKER_REST
#
# Use of this feature require specific settings at server:
# - You should enable wildcard subdomains in DNS server
# - You should enable wildcard ServerAlias in Apache (or similar setting
# in other web servers)
#
rest_url_per_table 0
rest_url_schema http://
rest_url_base_server example.com
rest_url_uri /POKER_REST
# Points cash-out lower limit
points_cashout_limit 0.0010