use subnets instead of prefixes.

This commit is contained in:
iamBadgers
2026-05-16 13:44:36 -07:00
parent 702875943f
commit 66ede6eb4d

View File

@@ -22,7 +22,7 @@ def build_container_routing_labels(prefix: str, strip_prefix=True):
) )
labels = {} labels = {}
labels[router_key] = "Host(`{host_name}`) && PathPrefix(`/{prefix}`)".format( labels[router_key] = "Host(`{prefix}.{host_name}`)".format(
host_name=host_name, prefix=prefix host_name=host_name, prefix=prefix
) )
if strip_prefix: if strip_prefix:
@@ -86,7 +86,7 @@ def start_foundry_container(table: GameTable, key: TableKey):
else: else:
environment = [ 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_TELEMETRY=FALSE",
"FOUNDRY_LICENSE_KEY={key_value}".format(key_value=key.key), "FOUNDRY_LICENSE_KEY={key_value}".format(key_value=key.key),
] ]