Add remote subnets to ui

This commit is contained in:
Owen 2025-07-24 22:01:22 -07:00
parent 1466788f77
commit 15adfcca8c
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
5 changed files with 92 additions and 14 deletions

View file

@ -65,7 +65,8 @@ export const sites = sqliteTable("sites", {
listenPort: integer("listenPort"),
dockerSocketEnabled: integer("dockerSocketEnabled", { mode: "boolean" })
.notNull()
.default(true)
.default(true),
remoteSubnets: text("remoteSubnets"), // comma-separated list of subnets that this site can access
});
export const resources = sqliteTable("resources", {