forked from hippich/Bitcoin-Poker-Room
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathroom_sample.conf
86 lines (70 loc) · 2.02 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
# 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 Room
<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
</Room::Model::PokerNetwork>
<Plugin::Authentication>
<default>
<credential>
user_model PokerNetwork::Users
class Password
password_type hashed
password_field password
password_hash_type SHA-1
</credential>
<store>
class DBIx::Class
user_model PokerNetwork::Users
</store>
</default>
</Plugin::Authentication>
<Model::BitcoinServer>
uri http://rpcuser:rpcpassword@localhost:8332/
</Model::BitcoinServer>
<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_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>