From 34774a299f04f7280db8b4479a0915e715c7a2ed Mon Sep 17 00:00:00 2001 From: danilgryaznev Date: Sun, 28 Sep 2025 14:14:19 +0300 Subject: [PATCH] env --- .gitignore | 1 - backend/.env.example | 11 +++++++++++ frontend/.env.example | 6 ++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 backend/.env.example create mode 100644 frontend/.env.example diff --git a/.gitignore b/.gitignore index 6617915..6a38535 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ __pycache__/ *.sqlite3 *.db .env -.env.* .vscode/ .idea/ .DS_Store diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..8553890 --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,11 @@ +# Sample configuration for the FastAPI backend +ALABUGA_ENVIRONMENT=local +ALABUGA_PROJECT_NAME=Alabuga Gamification API +ALABUGA_SECRET_KEY=change-me +ALABUGA_JWT_ALGORITHM=HS256 +ALABUGA_ACCESS_TOKEN_EXPIRE_MINUTES=720 +ALABUGA_REQUIRE_EMAIL_CONFIRMATION=false +ALABUGA_BACKEND_CORS_ORIGINS=["http://localhost:3000","http://127.0.0.1:3000","http://0.0.0.0:3000"] +# For local runs outside Docker keep the path under ./data/ +# When running via docker compose override with /data/app.db for persistent volume usage +ALABUGA_SQLITE_PATH=./data/app.db diff --git a/frontend/.env.example b/frontend/.env.example new file mode 100644 index 0000000..f9be766 --- /dev/null +++ b/frontend/.env.example @@ -0,0 +1,6 @@ +NEXT_PUBLIC_API_URL=http://localhost:8000 +NEXT_INTERNAL_API_URL=http://localhost:8000 +NEXT_PUBLIC_DEMO_EMAIL=candidate@alabuga.space +NEXT_PUBLIC_DEMO_PASSWORD=orbita123 +NEXT_PUBLIC_DEMO_HR_EMAIL=hr@alabuga.space +NEXT_PUBLIC_DEMO_HR_PASSWORD=orbita123