From 0c13b134ab6c963ff910e571988673d7dd703629 Mon Sep 17 00:00:00 2001 From: kasun Date: Thu, 26 Mar 2026 21:25:51 +0100 Subject: [PATCH] renamed env file --- backend/.gitignore | 2 +- backend/src/main/resources/application.yaml | 2 +- docs/02-Preparation/02-Spring-Boot-setup.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/.gitignore b/backend/.gitignore index 7e944c2..8b55b52 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -37,4 +37,4 @@ out/ .vscode/ ### Misc ### -.env_dev +*.local diff --git a/backend/src/main/resources/application.yaml b/backend/src/main/resources/application.yaml index fbc1da1..3aca02f 100644 --- a/backend/src/main/resources/application.yaml +++ b/backend/src/main/resources/application.yaml @@ -2,7 +2,7 @@ spring: application: name: vaessl config: - import: "optional:file:.env_dev[.properties]" + import: "optional:file:.env.local[.properties]" datasource: url : ${DB_URL} username: ${DB_USERNAME} diff --git a/docs/02-Preparation/02-Spring-Boot-setup.md b/docs/02-Preparation/02-Spring-Boot-setup.md index 42f43bf..90cb819 100644 --- a/docs/02-Preparation/02-Spring-Boot-setup.md +++ b/docs/02-Preparation/02-Spring-Boot-setup.md @@ -93,7 +93,7 @@ tasks.withType { ``` -To configure OpenAI (which I will use instead of LiteLLM initially since I have an OpenAI Api key and can get going quickly) and PostGreSQL I will create a .env_dev file in the root dir, fill all credentials and add it to .gitignore +To configure OpenAI (which I will use instead of LiteLLM initially since I have an OpenAI Api key and can get going quickly) and PostGreSQL I will create a .env.local file in the root dir, fill all credentials and add it to .gitignore ``` DB_URL=jdbc:postgresql://192.168.1.208:5433/vaessl @@ -112,7 +112,7 @@ spring: application: name: vaessl config: - import: "optional:file:.env_dev[.properties]" + import: "optional:file:.env.local[.properties]" datasource: url : ${DB_URL} username: ${DB_USERNAME}