mirror of
https://github.com/ajnart/homarr.git
synced 2026-03-01 01:40:55 +01:00
13 lines
401 B
TypeScript
13 lines
401 B
TypeScript
import { z } from "zod";
|
|
|
|
import { createEnv } from "@homarr/env";
|
|
|
|
export const env = createEnv({
|
|
server: {
|
|
// Comma separated list of docker hostnames that can be used to connect to query the docker endpoints (localhost:2375,host.docker.internal:2375, ...)
|
|
DOCKER_HOSTNAMES: z.string().optional(),
|
|
DOCKER_PORTS: z.string().optional(),
|
|
},
|
|
experimental__runtimeEnv: process.env,
|
|
});
|