File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
OutdoorzMedia.Business/utils Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace OutdoorzMedia.Business.utils
88 public class KafkaConsumerOptions
99 {
1010 public string ConnectionString { get ; set ; } = string . Empty ;
11- public string BootstrapServers { get ; set ; } = "localhost:29092 " ;
11+ public string BootstrapServers { get ; set ; } = "kafka:9092 " ;
1212 public string GroupId { get ; set ; } = "outdoorz-media-group" ;
1313 }
1414}
Original file line number Diff line number Diff line change 11DB_PASSWORD = P4ssw0rd!
22JWT_SECRET = This_is_your_secret_key+Some_more_characters_to_make_it_longer
33ENCRYPTION_KEY = MyS3cr3tK3y12345
4+ ACCESSKEYID = 7096743648e1fc3f3864c0dd73913ca4
5+ ACCESSKEYSECRET = 130550b945e192c4ae3da23f248f2214f81a30c32c62f9cc7940050f3823b642
Original file line number Diff line number Diff line change 2121builder . Services . AddEndpointsApiExplorer ( ) ;
2222
2323builder . Configuration [ "ConnectionStrings:DefaultConnection" ] =
24- $ "Server=localhost,11434 ;Database=OutdoorzMedia;User Id=sa;" +
24+ $ "Server=db-media,1433 ;Database=OutdoorzMedia;User Id=sa;" +
2525 $ "Password={ Environment . GetEnvironmentVariable ( "DB_PASSWORD" ) } ;" +
2626 "Encrypt=True;TrustServerCertificate=True;MultipleActiveResultSets=True;" ;
2727
3030{
3131 options . Limits . MaxRequestBodySize = long . MaxValue ; // 2 GB
3232} ) ;
33+ builder . Configuration [ "CloudflareR2:AccessKeyId" ] = Environment . GetEnvironmentVariable ( "ACCESSKEYID" ) ;
34+ builder . Configuration [ "CloudflareR2:AccessKeySecret" ] = Environment . GetEnvironmentVariable ( "ACCESSKEYSECRET" ) ;
3335
3436builder . Services
3537 . AddOptions < CloudflareR2Config > ( )
Original file line number Diff line number Diff line change 1515 "Key" : " "
1616 },
1717 "CloudflareR2" : {
18- "AccessKeyId" : " 7096743648e1fc3f3864c0dd73913ca4 " ,
19- "AccessKeySecret" : " 130550b945e192c4ae3da23f248f2214f81a30c32c62f9cc7940050f3823b642 " ,
18+ "AccessKeyId" : " " ,
19+ "AccessKeySecret" : " " ,
2020 "BucketName" : " outdoorz-media" ,
2121 "AccountId" : " bbf278ce92d5782407d2f8e26b61509f" ,
2222 "ServiceURL" : " https://bbf278ce92d5782407d2f8e26b61509f.r2.cloudflarestorage.com"
You can’t perform that action at this time.
0 commit comments