mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-15 08:25:01 +02:00
add traefik settings to config and use fullDomain
This commit is contained in:
parent
1c4608fbf4
commit
6d9731f071
5 changed files with 45 additions and 52 deletions
|
@ -10,7 +10,6 @@ const environmentSchema = z.object({
|
|||
app: z.object({
|
||||
name: z.string(),
|
||||
base_url: z.string().url(),
|
||||
base_domain: z.string(),
|
||||
log_level: z.enum(["debug", "info", "warn", "error"]),
|
||||
save_logs: z.string().transform((val) => val === "true"),
|
||||
}),
|
||||
|
@ -26,6 +25,11 @@ const environmentSchema = z.object({
|
|||
internal_hostname: z.string(),
|
||||
secure_cookies: z.string().transform((val) => val === "true"),
|
||||
}),
|
||||
traefik: z.object({
|
||||
http_entrypoint: z.string(),
|
||||
https_entrypoint: z.string().optional(),
|
||||
cert_resolver: z.string().optional(),
|
||||
}),
|
||||
rate_limit: z.object({
|
||||
window_minutes: z
|
||||
.string()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue