A decentralized music tracking and discovery platform built on AT Protocol 馃幍
at feat/like-scrobble 16 lines 507 B view raw
1import { cleanEnv, str, port, host, testOnly } from "envalid"; 2import process from "node:process"; 3 4export const env = cleanEnv(process.env, { 5 NODE_ENV: str({ 6 devDefault: testOnly("test"), 7 choices: ["development", "production", "test"], 8 }), 9 10 ROCKSKY_FEEDGEN_DOMAIN: host({ devDefault: "localhost" }), 11 ROCKSKY_FEEDGEN_PORT: port({ devDefault: 8002 }), 12 XATA_POSTGRES_URL: str({ 13 devDefault: 14 "postgresql://postgres:mysecretpassword@localhost:5433/rocksky?sslmode=disable", 15 }), 16});