mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 01:24:58 +02:00
added traefik config provider endpoint
This commit is contained in:
parent
a67463a518
commit
07bf2059c6
10 changed files with 134 additions and 472 deletions
|
@ -41,8 +41,8 @@ export const targets = sqliteTable("targets", {
|
|||
targetId: integer("targetId").primaryKey({ autoIncrement: true }),
|
||||
resourceId: text("resourceId").references(() => resources.resourceId, { onDelete: "cascade" }),
|
||||
ip: text("ip").notNull(),
|
||||
method: text("method"),
|
||||
port: integer("port"),
|
||||
method: text("method").notNull(),
|
||||
port: integer("port").notNull(),
|
||||
protocol: text("protocol"),
|
||||
});
|
||||
|
||||
|
@ -69,4 +69,4 @@ export type Site = InferSelectModel<typeof sites>;
|
|||
export type Resource = InferSelectModel<typeof resources>;
|
||||
export type ExitNode = InferSelectModel<typeof exitNodes>;
|
||||
export type Route = InferSelectModel<typeof routes>;
|
||||
export type Target = InferSelectModel<typeof targets>;
|
||||
export type Target = InferSelectModel<typeof targets>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue