From f0a2f081a7107461dd0079c7401e9b88011ad085 Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 12 Mar 2026 22:58:27 -0500 Subject: [PATCH] env --- .env | 5 +++++ .env.example | 10 ++++++++++ .gitignore | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .env create mode 100644 .env.example diff --git a/.env b/.env new file mode 100644 index 0000000..d8d99e2 --- /dev/null +++ b/.env @@ -0,0 +1,5 @@ +DATABASE_URL="file:./dev.db" +NEXTAUTH_SECRET="f33d7b81f185675438888062a4d9302d" +NEXTAUTH_URL="http://localhost:3000" +GOOGLE_CLIENT_ID="dummy" +GOOGLE_CLIENT_SECRET="dummy" \ No newline at end of file diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..4978c7f --- /dev/null +++ b/.env.example @@ -0,0 +1,10 @@ +# Database +DATABASE_URL="file:/app/data/dev.db" + +# Authentication +NEXTAUTH_URL="http://your-unraid-ip:3000" +NEXTAUTH_SECRET="your-secret-here-use-openssl-rand-hex-32" + +# Google OAuth +GOOGLE_CLIENT_ID="your-google-client-id" +GOOGLE_CLIENT_SECRET="your-google-client-secret" diff --git a/.gitignore b/.gitignore index 5f37cb6..f16e795 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,7 @@ yarn-error.log* .pnpm-debug.log* # env files (can opt-in for committing if needed) -.env* +#.env* # vercel .vercel