aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-08-23 16:50:37 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-08-23 16:50:37 +0200
commite00a1987866a804f2ae6e3206bd583df703663e8 (patch)
treea7d4ce509bc220105d5302ff1172d8556fabf47e /config
parentAdd workspaces to feature list (diff)
downloadferdium-server-e00a1987866a804f2ae6e3206bd583df703663e8.tar.gz
ferdium-server-e00a1987866a804f2ae6e3206bd583df703663e8.tar.zst
ferdium-server-e00a1987866a804f2ae6e3206bd583df703663e8.zip
Add recipe store
Diffstat (limited to 'config')
-rw-r--r--config/drive.js48
1 files changed, 48 insertions, 0 deletions
diff --git a/config/drive.js b/config/drive.js
new file mode 100644
index 0000000..901e699
--- /dev/null
+++ b/config/drive.js
@@ -0,0 +1,48 @@
1'use strict'
2
3const Helpers = use('Helpers')
4const Env = use('Env')
5
6module.exports = {
7 /*
8 |--------------------------------------------------------------------------
9 | Default disk
10 |--------------------------------------------------------------------------
11 |
12 | The default disk is used when you interact with the file system without
13 | defining a disk name
14 |
15 */
16 default: 'local',
17
18 disks: {
19 /*
20 |--------------------------------------------------------------------------
21 | Local
22 |--------------------------------------------------------------------------
23 |
24 | Local disk interacts with the a local folder inside your application
25 |
26 */
27 local: {
28 root: __dirname + '/../recipes',
29 driver: 'local'
30 },
31
32 /*
33 |--------------------------------------------------------------------------
34 | S3
35 |--------------------------------------------------------------------------
36 |
37 | S3 disk interacts with a bucket on aws s3
38 |
39 */
40 s3: {
41 driver: 's3',
42 key: Env.get('S3_KEY'),
43 secret: Env.get('S3_SECRET'),
44 bucket: Env.get('S3_BUCKET'),
45 region: Env.get('S3_REGION')
46 }
47 }
48}