mirror of
https://github.com/fosrl/pangolin.git
synced 2025-12-13 11:36:04 +00:00
add traefik settings to config and use fullDomain
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user