The Worker now registers the Application layer, observability and stream tickets, validates the container on build and ships a complete appsettings. The Gateway drops underscore fields and uses a placeholder bucket in its default YARP transform.
42 lines
797 B
JSON
42 lines
797 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Yarp": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
"StreamTicket": {
|
|
"PublicKeyPath": "",
|
|
"Audience": "media-gateway",
|
|
"Issuer": "musify-webapi",
|
|
"QueryParameterName": "t",
|
|
"MediaPathPrefix": "/media"
|
|
},
|
|
|
|
"Cors": {
|
|
"AllowedOrigins": []
|
|
},
|
|
|
|
"ReverseProxy": {
|
|
"Routes": {
|
|
"media": {
|
|
"ClusterId": "seaweed-filer",
|
|
"Match": { "Path": "/media/{**rest}" },
|
|
"Transforms": [
|
|
{ "PathPattern": "/buckets/CHANGE_ME/{**rest}" }
|
|
]
|
|
}
|
|
},
|
|
"Clusters": {
|
|
"seaweed-filer": {
|
|
"Destinations": {
|
|
"filer": { "Address": "http://localhost:8888/" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|