-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sample.js
41 lines (40 loc) · 973 Bytes
/
config.sample.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
/**
* This is the configuration file.
* Please fill in the data. The database assumes default port 3306!
* Please DO NOT touch this if you don't know what you are doing!
*/
module.exports = {
graphql: {
dev: {
endpoint: 'http://localhost:4000/graphql',
},
prod: {
dev: {
endpoint:
'enter the serverless endpoint here e.g. /dev/graphql',
},
production: {
endpoint:
'enter the serverless endpoint here e.g. /prod/graphql',
},
},
},
redis: {
dev: {
host: '127.0.0.1',
port: 6379,
password: '',
},
prod: {
host: '',
port: 6379,
password: '',
},
databases: {
fetchCache: {
database: 1,
key: 'fetchCache',
},
},
},
};