File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ namespace Aspire.Hosting;
88/// </summary>
99public static class FlagdBuilderExtensions
1010{
11+ private const int FlagdPort = 8013 ;
12+
1113 /// <summary>
1214 /// Adds a flagd container to the application model.
1315 /// </summary>
@@ -31,7 +33,7 @@ public static IResourceBuilder<FlagdResource> AddFlagd(
3133 return builder . AddResource ( resource )
3234 . WithImage ( FlagdContainerImageTags . Image , FlagdContainerImageTags . Tag )
3335 . WithImageRegistry ( FlagdContainerImageTags . Registry )
34- . WithHttpEndpoint ( port : port , targetPort : 8013 , name : FlagdResource . HttpEndpointName )
36+ . WithHttpEndpoint ( port : port , targetPort : FlagdPort , name : FlagdResource . HttpEndpointName )
3537 . WithBindMount ( fileSource , "/flags" )
3638 . WithArgs ( "start" , "--uri" , "file:./flags/flagd.json" ) ;
3739 }
You can’t perform that action at this time.
0 commit comments