Skip to content

Commit 777532e

Browse files
committed
chore: sample config file
1 parent f6c81e8 commit 777532e

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

config.sample.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"host": "0.0.0.0",
3+
"port": 5020,
4+
5+
"production": false,
6+
7+
"database": {
8+
"redis": {
9+
"host": "localhost",
10+
"port": 6379,
11+
"pass": "",
12+
"db": 1
13+
},
14+
"postgres": {
15+
"host": "localhost",
16+
"port": 5432,
17+
"user": "postgres",
18+
"pass": "REPLACE_ME",
19+
"db": "postgres"
20+
}
21+
},
22+
23+
"storage": {
24+
"type": "s3",
25+
"region": "us-east-1",
26+
"bucket": "smr",
27+
"key": "REPLACE_ME_KEY",
28+
"secret": "REPLACE_ME_SECRET",
29+
"endpoint": "http://localhost:9000",
30+
"base_url": "http://localhost:9000"
31+
},
32+
33+
"oauth": {
34+
"github": {
35+
"client_id": "...",
36+
"client_secret": "..."
37+
},
38+
"google": {
39+
"client_id": "...",
40+
"client_secret": "..."
41+
},
42+
"facebook": {
43+
"client_id": "...",
44+
"client_secret": "..."
45+
}
46+
},
47+
48+
"paseto": {
49+
"public_key": "...",
50+
"private_key": "..."
51+
},
52+
53+
"frontend": {
54+
"url": "http://localhost:4200"
55+
}
56+
}

0 commit comments

Comments
 (0)