mirror of
https://github.com/fosrl/pangolin.git
synced 2025-06-24 06:08:48 +02:00
add replica connections for pg
This commit is contained in:
parent
5c682fe923
commit
b86ef93211
3 changed files with 2608 additions and 153 deletions
|
@ -121,9 +121,16 @@ export const configSchema = z.object({
|
|||
}),
|
||||
postgres: z
|
||||
.object({
|
||||
connection_string: z.string().optional()
|
||||
connection_string: z.string(),
|
||||
replicas: z
|
||||
.array(
|
||||
z.object({
|
||||
connection_string: z.string()
|
||||
})
|
||||
)
|
||||
.optional()
|
||||
})
|
||||
.default({}),
|
||||
.optional(),
|
||||
traefik: z
|
||||
.object({
|
||||
http_entrypoint: z.string().optional().default("web"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue