use subnets instead of prefixes.
This commit is contained in:
@@ -22,7 +22,7 @@ def build_container_routing_labels(prefix: str, strip_prefix=True):
|
||||
)
|
||||
|
||||
labels = {}
|
||||
labels[router_key] = "Host(`{host_name}`) && PathPrefix(`/{prefix}`)".format(
|
||||
labels[router_key] = "Host(`{prefix}.{host_name}`)".format(
|
||||
host_name=host_name, prefix=prefix
|
||||
)
|
||||
if strip_prefix:
|
||||
@@ -86,7 +86,7 @@ def start_foundry_container(table: GameTable, key: TableKey):
|
||||
else:
|
||||
|
||||
environment = [
|
||||
"FOUNDRY_ROUTE_PREFIX={prefix}".format(prefix=table.game_table_link),
|
||||
#"FOUNDRY_ROUTE_PREFIX={prefix}".format(prefix=table.game_table_link),
|
||||
"FOUNDRY_TELEMETRY=FALSE",
|
||||
"FOUNDRY_LICENSE_KEY={key_value}".format(key_value=key.key),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user