-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
config.moon
85 lines (62 loc) · 1.38 KB
/
config.moon
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
import config from require "lapis.config"
config {"development", "test", "production"}, ->
code_cache "off"
daemon "off"
notice_log "stderr"
admin_email "[email protected]"
measure_performance true
pcall ->
include require "secret.keys"
session_name "streakclub"
app_name "streak.club"
host "localhost"
user_content_path "user_content"
storage_bucket "streakclub_dev"
image_cache_path "image_cache"
resolver "8.8.8.8"
postgres {
backend: "pgmoon"
database: "streakclub"
}
community {
view_counter_dict: "community_view_counters"
}
enable_recaptcha true
config "test", ->
port 80 -- to generate portless URLs
code_cache "on"
disable_email true
postgres {
backend: "pgmoon"
database: "streakclub_test"
}
logging {
requests: true
queries: false
server: true
}
enable_recaptcha false
config "production", ->
track_exceptions true
admin_email "[email protected]"
code_cache "on"
port 10005
daemon "on"
notice_log "logs/notice.log"
logging false
num_workers 3
host "streak.club"
image_cache_path "../streakclub-imagecache"
storage_bucket "streakclub"
resolver "127.0.0.1 ipv6=off"
enable_https true
systemd {
user: true
}
-- config "development", ->
-- force_login_user "leafo"
-- postgres {
-- database: "streakclub_prod"
-- }
--
-- storage_bucket "streakclub"