forked from mozilla/popcorn.webmaker.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default-config.js
90 lines (71 loc) · 2.27 KB
/
default-config.js
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
// This is the default configuration for the Popcorn Maker server
// You shouldn't edit this file. Instead, look at the README for
// various configuration options
module.exports = {
// APP_HOSTNAME must match the address in your browser's URL bar
// If it does not, then Persona sign-in will not work
// Don't add any trailing slashes, just protocol://APP_HOSTNAME[:port]
"APP_HOSTNAME": "http://localhost:8888",
"OPTIMIZE_JS": false,
"OPTIMIZE_CSS": false,
"FORCE_SSL": false,
"DEBUG": true,
// PORT is the port that the server will bind to
// PORT is all caps because all the PaaS providers do it this way
"PORT": 8888,
"MAKE_ENDPOINT": "http://localhost:5000",
// make authentication - private and public keys must be generated by the MakeAPI
"MAKE_PRIVATEKEY": "00000000-0000-0000-000000000000",
"MAKE_PUBLICKEY": "00000000-0000-0000-000000000000",
"JWPLAYER_KEY": "zaIF4JI9EeK2FSIACpYGxA",
"LOGIN_SERVER_URL_WITH_AUTH": "http://testuser:password@localhost:3000",
"AUDIENCE": "http://localhost:7777",
"GA_ACCOUNT": "",
"GA_DOMAIN": "",
// i18n
"SUPPORTED_LANGS": [
"*"
],
"EMBED_HOSTNAME": "",
// Domain to host user subdomains on
// Must be in the format protocol://hostname[:port]
"USER_SUBDOMAIN": "http://127.0.0.1.xip.io:4000",
"TOGETHERJS": "http://localhost:8811",
"NODE_HUBBLE_ENDPOINT": "http://node-hubble.mofostaging.net/",
"CLYP_ENDPOINT": "https://apistaging.clyp.it",
"TOGETHERJS_ENABLED": false,
"S3_KEY": "",
"S3_BUCKET": "org.webmadecontent.staging.popcorn",
"S3_SECRET": "",
"S3_DOMAIN": "http://localhost:12319",
"S3_EMULATION": false,
"MOX_PORT": 12319,
// API Keys for Media Sync
"SYNC_SOUNDCLOUD": "PRaNFlda6Bhf5utPjUsptg",
"SYNC_FLICKR": "b939e5bd8aa696db965888a31b2f1964",
// Public API Key
"SYNC_GIPHY": "dc6zaTOxFJmzC",
"SYNC_LIMIT": 20,
"logger" : {
"format" : "dev"
},
"SECRET": "dummy secret value",
"staticMiddleware": {
"maxAge": "0"
},
"database": {
"database": "popcorn",
"username": null,
"password": null,
"options": {
"logging": false,
"dialect": "sqlite",
"storage": "popcorn.sqlite",
"define": {
"charset": "utf8",
"collate": "utf8_general_ci"
}
}
},
"ENABLE_GELF_LOGS": false
};