File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ func RegisterCommands(s *plugin.SDK) error {
3535 })
3636 sdk .RegisterDebugRunner (& drupalDebugRunner {})
3737 sdk .RegisterHealthcheckRunner (drupalHealthcheckRunner )
38+ sdk .RegisterIngressRouteProvider (plugin .StandardComposeWebIngressRoutesWithOptions (plugin.StandardComposeWebIngressOptions {
39+ AppService : "drupal" ,
40+ Router : "drupal" ,
41+ URLVariables : []string {"DRUPAL_DEFAULT_SITE_URL" , "DRUSH_OPTIONS_URI" },
42+ HTTPSVariables : []string {"DRUPAL_ENABLE_HTTPS" },
43+ }))
3844 sdk .AddCommand (drushCmd )
3945 sdk .AddCommand (loginCmd )
4046 sdk .AddCommand (syncCmd )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/libops/sitectl-drupal
33go 1.26.1
44
55require (
6- github.com/libops/sitectl v0.28 .0
6+ github.com/libops/sitectl v0.29 .0
77 github.com/spf13/cobra v1.10.2
88 gopkg.in/yaml.v3 v3.0.1
99)
Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
8282github.com/kr/text v0.2.0 /go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE =
8383github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc =
8484github.com/kylelemons/godebug v1.1.0 /go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw =
85- github.com/libops/sitectl v0.28 .0 h1:JWjiWAAkvzYJEEEHrvUq7uwUv83WhfjAR9LVO3gOMcA =
86- github.com/libops/sitectl v0.28 .0 /go.mod h1:uoXxmr3TSUYVgcWxwcFSOiDUmmKQW2ASr856dk/9yd8 =
85+ github.com/libops/sitectl v0.29 .0 h1:5AePRKBmHS2GUsWvUmZxGo8S/4YZI+MtxNJRtlVng8w =
86+ github.com/libops/sitectl v0.29 .0 /go.mod h1:uoXxmr3TSUYVgcWxwcFSOiDUmmKQW2ASr856dk/9yd8 =
8787github.com/lucasb-eyer/go-colorful v1.4.0 h1:UtrWVfLdarDgc44HcS7pYloGHJUjHV/4FwW4TvVgFr4 =
8888github.com/lucasb-eyer/go-colorful v1.4.0 /go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0 =
8989github.com/mattn/go-runewidth v0.0.24 h1:cpokDiIn0MGnhdHwuWnJBITySJ20QyNGnY2kR/ay2DU =
You can’t perform that action at this time.
0 commit comments