|
1 | 1 | {
|
2 |
| - "Cors": { |
3 |
| - "AccessControlAllowCredentials": true |
| 2 | + "Cors": { |
| 3 | + "AccessControlAllowCredentials": true |
| 4 | + }, |
| 5 | + "Authentication": { |
| 6 | + "ApiKey": "test" |
| 7 | + }, |
| 8 | + "Infrastructure": { |
| 9 | + "EventBus": { |
| 10 | + "Vendor": "RabbitMQ", |
| 11 | + "ConnectionInfo": "rabbitmq", |
| 12 | + |
| 13 | + "RabbitMQUsername": "guest", |
| 14 | + "RabbitMQPassword": "guest", |
| 15 | + "ConnectionRetryCount": 5 |
4 | 16 | },
|
5 |
| - "Authentication": { |
6 |
| - "ApiKey": "test" |
| 17 | + "SqlDatabase": { |
| 18 | + "Provider": "Postgres", |
| 19 | + "ConnectionString": "User Id=adminUi;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
| 20 | + } |
| 21 | + }, |
| 22 | + "Modules": { |
| 23 | + "Challenges": { |
| 24 | + "Infrastructure": { |
| 25 | + "SqlDatabase": { |
| 26 | + "Provider": "Postgres", |
| 27 | + "ConnectionString": "User ID=challenges;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
| 28 | + } |
| 29 | + } |
7 | 30 | },
|
8 |
| - "Infrastructure": { |
9 |
| - "EventBus": { |
10 |
| - "Vendor": "RabbitMQ", |
11 |
| - "ConnectionInfo": "rabbitmq", |
12 |
| - |
13 |
| - "RabbitMQUsername": "guest", |
14 |
| - "RabbitMQPassword": "guest", |
15 |
| - "ConnectionRetryCount": 5 |
16 |
| - }, |
| 31 | + "Quotas": { |
| 32 | + "Infrastructure": { |
17 | 33 | "SqlDatabase": {
|
18 |
| - "Provider": "Postgres", |
19 |
| - "ConnectionString": "User Id=adminUi;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
| 34 | + "Provider": "Postgres", |
| 35 | + "ConnectionString": "User ID=quotas;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
20 | 36 | }
|
| 37 | + } |
21 | 38 | },
|
22 |
| - "Modules": { |
23 |
| - "Challenges": { |
24 |
| - "Infrastructure": { |
25 |
| - "SqlDatabase": { |
26 |
| - "Provider": "Postgres", |
27 |
| - "ConnectionString": "User ID=challenges;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
28 |
| - } |
29 |
| - } |
30 |
| - }, |
31 |
| - "Quotas": { |
32 |
| - "Infrastructure": { |
33 |
| - "SqlDatabase": { |
34 |
| - "Provider": "Postgres", |
35 |
| - "ConnectionString": "User ID=quotas;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
36 |
| - } |
37 |
| - } |
38 |
| - }, |
39 |
| - "Devices": { |
40 |
| - "Infrastructure": { |
41 |
| - "SqlDatabase": { |
42 |
| - "Provider": "Postgres", |
43 |
| - "ConnectionString": "User ID=devices;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
44 |
| - }, |
45 |
| - "PushNotifications": { |
46 |
| - "Provider": "Dummy" |
47 |
| - } |
48 |
| - } |
49 |
| - }, |
50 |
| - "Files": { |
51 |
| - "Infrastructure": { |
52 |
| - "SqlDatabase": { |
53 |
| - "Provider": "Postgres", |
54 |
| - "ConnectionString": "User ID=files;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
55 |
| - }, |
56 |
| - "BlobStorage": { |
57 |
| - "CloudProvider": "Azure", |
58 |
| - "ConnectionInfo": "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite:10000/devstoreaccount1;" |
59 |
| - } |
60 |
| - } |
61 |
| - }, |
62 |
| - "Messages": { |
63 |
| - "Infrastructure": { |
64 |
| - "SqlDatabase": { |
65 |
| - "Provider": "Postgres", |
66 |
| - "ConnectionString": "User ID=messages;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
67 |
| - } |
68 |
| - } |
69 |
| - }, |
70 |
| - "Relationships": { |
71 |
| - "Infrastructure": { |
72 |
| - "SqlDatabase": { |
73 |
| - "Provider": "Postgres", |
74 |
| - "ConnectionString": "User ID=relationships;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
75 |
| - } |
76 |
| - } |
77 |
| - }, |
78 |
| - "Synchronization": { |
79 |
| - "Infrastructure": { |
80 |
| - "SqlDatabase": { |
81 |
| - "Provider": "Postgres", |
82 |
| - "ConnectionString": "User ID=synchronization;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
83 |
| - } |
84 |
| - } |
| 39 | + "Devices": { |
| 40 | + "Infrastructure": { |
| 41 | + "SqlDatabase": { |
| 42 | + "Provider": "Postgres", |
| 43 | + "ConnectionString": "User ID=devices;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
85 | 44 | },
|
86 |
| - "Tokens": { |
87 |
| - "Infrastructure": { |
88 |
| - "SqlDatabase": { |
89 |
| - "Provider": "Postgres", |
90 |
| - "ConnectionString": "User ID=tokens;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
91 |
| - } |
92 |
| - } |
| 45 | + "PushNotifications": { |
| 46 | + "Provider": "Dummy" |
93 | 47 | }
|
| 48 | + } |
94 | 49 | },
|
95 |
| - "Serilog": { |
96 |
| - "MinimumLevel": { |
97 |
| - "Default": "Debug" |
| 50 | + "Files": { |
| 51 | + "Infrastructure": { |
| 52 | + "SqlDatabase": { |
| 53 | + "Provider": "Postgres", |
| 54 | + "ConnectionString": "User ID=files;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
98 | 55 | },
|
99 |
| - "Enrich": ["FromLogContext", "WithProcessId", "WithThreadId"], |
100 |
| - "WriteTo": [ |
101 |
| - { |
102 |
| - "Name": "Console", |
103 |
| - "Args": { |
104 |
| - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff}|{Level} - CorrelationId:{CorrelationId} - RequestId:{RequestId} - RequestPath:{RequestPath}{NewLine} {SourceContext}{NewLine} {Message}{NewLine}{Exception}" |
105 |
| - } |
106 |
| - } |
107 |
| - ] |
| 56 | + "BlobStorage": { |
| 57 | + "CloudProvider": "Azure", |
| 58 | + "ConnectionInfo": "DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://azurite:10000/devstoreaccount1;" |
| 59 | + } |
| 60 | + } |
| 61 | + }, |
| 62 | + "Messages": { |
| 63 | + "Infrastructure": { |
| 64 | + "SqlDatabase": { |
| 65 | + "Provider": "Postgres", |
| 66 | + "ConnectionString": "User ID=messages;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
| 67 | + } |
| 68 | + } |
| 69 | + }, |
| 70 | + "Relationships": { |
| 71 | + "Infrastructure": { |
| 72 | + "SqlDatabase": { |
| 73 | + "Provider": "Postgres", |
| 74 | + "ConnectionString": "User ID=relationships;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
| 75 | + } |
| 76 | + } |
| 77 | + }, |
| 78 | + "Synchronization": { |
| 79 | + "Infrastructure": { |
| 80 | + "SqlDatabase": { |
| 81 | + "Provider": "Postgres", |
| 82 | + "ConnectionString": "User ID=synchronization;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
| 83 | + } |
| 84 | + } |
| 85 | + }, |
| 86 | + "Tokens": { |
| 87 | + "Infrastructure": { |
| 88 | + "SqlDatabase": { |
| 89 | + "Provider": "Postgres", |
| 90 | + "ConnectionString": "User ID=tokens;Password=Passw0rd;Server=postgres;Port=5432;Database=enmeshed;" |
| 91 | + } |
| 92 | + } |
108 | 93 | }
|
| 94 | + }, |
| 95 | + "Serilog": { |
| 96 | + "MinimumLevel": { |
| 97 | + "Default": "Debug" |
| 98 | + }, |
| 99 | + "Enrich": ["FromLogContext", "WithProcessId", "WithThreadId"], |
| 100 | + "WriteTo": [ |
| 101 | + { |
| 102 | + "Name": "Console", |
| 103 | + "Args": { |
| 104 | + "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff}|{Level} - CorrelationId:{CorrelationId} - RequestId:{RequestId} - RequestPath:{RequestPath}{NewLine} {SourceContext}{NewLine} {Message}{NewLine}{Exception}" |
| 105 | + } |
| 106 | + } |
| 107 | + ] |
| 108 | + } |
109 | 109 | }
|
0 commit comments