You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
web-with-tool: port 3000, private, injects script http://my-script.com
my-service-8080: port 8080, public
my-service-8081: port 8081, private
note that the default route for port 3000 my-service-3000 is not created because its port is specified in the web and web-with-tool routes.
Edge cases
Missing port
labels:
preevy.routes.web.access: private
This configuration is invalid: there is no preevy.routes.web.port label, can't determine the port for route web.
Redirecting default routes
labels:
preevy.routes.[8080].port: 3000
This configuration is valid albeit confusing. It creates the route my-service-8080 with port 3000 and disables the default route for port 3000 my-service-3000.
The text was updated successfully, but these errors were encountered:
Current labels:
preevy.access
preevy.inject_script
preevy.expose
Goals:
docker compose config
)Example 1 - defaults
can be normalized into:
and results the following routes:
my-service-3000
: port 3000, publicmy-service-8080
: port 8080, publicmy-service-8081
: port 8081, publicExample 2
can be normalized into:
and results the following routes:
web
: port 3000, publicweb-with-tool
: port 3000, private, injects scripthttp://my-script.com
my-service-8080
: port 8080, publicmy-service-8081
: port 8081, privatenote that the default route for port 3000
my-service-3000
is not created because its port is specified in theweb
andweb-with-tool
routes.Edge cases
Missing port
This configuration is invalid: there is no
preevy.routes.web.port
label, can't determine the port for routeweb
.Redirecting default routes
This configuration is valid albeit confusing. It creates the route
my-service-8080
with port 3000 and disables the default route for port 3000my-service-3000
.The text was updated successfully, but these errors were encountered: