chore: production setup

This commit is contained in:
Nicolas Meienberger
2025-09-27 14:10:15 +02:00
parent 9f3fb8a302
commit 88e310cc4f
18 changed files with 213 additions and 58 deletions

View File

@@ -3,11 +3,9 @@ import "dotenv/config";
const envSchema = type({
NODE_ENV: type.enumerated("development", "production", "test").default("development"),
VOLUME_ROOT: "string",
}).pipe((s) => ({
__prod__: s.NODE_ENV === "production",
environment: s.NODE_ENV,
volumeRootHost: s.VOLUME_ROOT,
}));
const parseConfig = (env: unknown) => {