1 |
|
2 | module.exports = {
|
3 | mysql: {
|
4 |
|
5 | client: 'mysql',
|
6 | connection: {
|
7 | host: '',
|
8 | user: '',
|
9 | password: '',
|
10 | database: '',
|
11 | },
|
12 | pool: { min: 0, max: 7 },
|
13 | migrations: {
|
14 | tableName: 'knex_migrations',
|
15 | directory: './src/Infrastructure/SQL/Migrations',
|
16 | },
|
17 | acquireConnectionTimeout: 60000,
|
18 | },
|
19 |
|
20 | common: {
|
21 |
|
22 | env: 'local',
|
23 | oldCoreURL: 'http://localhost',
|
24 | port: 3005,
|
25 | },
|
26 |
|
27 | |
28 |
|
29 |
|
30 |
|
31 | mysql2: {
|
32 | dialect: 'mysql',
|
33 | host: '',
|
34 | username: '',
|
35 | password: '',
|
36 | database: '',
|
37 | port: 3306,
|
38 | dialectOptions: {
|
39 | supportBigNumbers: true,
|
40 | decimalNumbers: true,
|
41 | },
|
42 | },
|
43 |
|
44 | redis: {
|
45 |
|
46 | url: 'redis://127.0.0.1:6379',
|
47 | },
|
48 |
|
49 | |
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 | rabbit: {
|
58 |
|
59 | queryList: ['queue1'],
|
60 |
|
61 | connection: 'amqp://localhost:5672',
|
62 | },
|
63 |
|
64 | S3: {
|
65 | endpoint: 'http://localhost:8000',
|
66 | bucket: {
|
67 | item: 'item',
|
68 | },
|
69 | baseUrl: 'https://localhost',
|
70 | access: 'accessKey1',
|
71 | secret: 'verySecretKey1',
|
72 | },
|
73 | };
|