Split AuthService/Server
some refactoring fix some stuff add http context accessor configure metrics as well commit 713d054ccb965f7adb8eafa6e3fb52853a1e6dd2 (partial, Docker only)
This commit is contained in:
		
							
								
								
									
										42
									
								
								Docker/run/config/standalone/authservice-standalone.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								Docker/run/config/standalone/authservice-standalone.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,42 @@ | ||||
| { | ||||
|     "ConnectionStrings": { | ||||
|         "DefaultConnection": "Host=/var/run/postgresql;Port=5432;Database=mare;Username=mare;Keepalive=15;Minimum Pool Size=10;Maximum Pool Size=50;No Reset On Close=true;Max Auto Prepare=50;Enlist=false" | ||||
|     }, | ||||
|     "Logging": { | ||||
|         "LogLevel": { | ||||
|             "Default": "Warning", | ||||
|             "Microsoft": "Warning", | ||||
|             "Microsoft.Hosting.Lifetime": "Information", | ||||
|             "MareSynchronosServices": "Information", | ||||
|             "MareSynchronosShared": "Information", | ||||
|             "System.IO": "Information" | ||||
|         }, | ||||
|         "File": { | ||||
|             "BasePath": "logs", | ||||
|             "FileAccessMode": "KeepOpenAndAutoFlush", | ||||
|             "FileEncodingName": "utf-8", | ||||
|             "DateFormat": "yyyMMdd", | ||||
|             "MaxFileSize": 104857600, | ||||
|             "Files": [ | ||||
|                 { | ||||
|                     "Path": "<date:yyyy>/<date:MM>/<date:dd>/mare-<date:HH>-<counter:0000>.log" | ||||
|                 } | ||||
|             ] | ||||
|         } | ||||
|     }, | ||||
|     "MareSynchronos": { | ||||
|         "DbContextPoolSize": 512, | ||||
|         "ShardName": "AuthServices", | ||||
|         "MetricsPort": 6150, | ||||
|         "Jwt": "teststringteststringteststringteststringteststringteststringteststringteststringteststringteststring", | ||||
|         "RedisConnectionString": "redis,password=secretredispassword", | ||||
|         "FailedAuthForTempBan": 5, | ||||
|         "UseGeoIP": false, | ||||
|         "GeoIPDbCityFile": "" | ||||
|     }, | ||||
|     "AllowedHosts": "*", | ||||
|     "Kestrel": { | ||||
|     }, | ||||
|     "IpRateLimiting": {}, | ||||
|     "IPRateLimitPolicies": {} | ||||
| } | ||||
| @@ -28,7 +28,6 @@ | ||||
|         "DbContextPoolSize": 512, | ||||
|         "ShardName": "Files", | ||||
|         "MetricsPort": 6250, | ||||
|         "FileServerGrpcAddress": "", | ||||
|         "ForcedDeletionOfFilesAfterHours": -1, | ||||
|         "CacheSizeHardLimitInGiB": -1, | ||||
|         "UnusedFileRetentionPeriodInDays": 14, | ||||
| @@ -37,7 +36,9 @@ | ||||
|         "MainServerAddress": "http://mare-server:6000/", | ||||
|         "RedisConnectionString": "redis,password=secretredispassword", | ||||
|         "MainFileServerAddress": "", | ||||
|         "Jwt": "teststringteststringteststringteststringteststringteststringteststringteststringteststringteststring" | ||||
|         "Jwt": "teststringteststringteststringteststringteststringteststringteststringteststringteststringteststring", | ||||
|         "UseColdStorage": false, | ||||
|         "IsDistributionNode": true | ||||
|     }, | ||||
|     "AllowedHosts": "*", | ||||
|     "Kestrel": { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stanley Dimant
					Stanley Dimant