update version to 0.2.0
This commit is contained in:
+1
-1
@@ -10,5 +10,5 @@ docker: clean
|
|||||||
docker build --target=production -t kontor-api:0.2.0-SNAPSHOT .
|
docker build --target=production -t kontor-api:0.2.0-SNAPSHOT .
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
MARIADB_SERVER=localhost uv run fastapi dev src/main.py --port 8008
|
DB_SERVER=127.0.0.1 uv run fastapi dev src/main.py --port 8008
|
||||||
|
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ load_dotenv(dotenv_path=env_path)
|
|||||||
|
|
||||||
class Settings:
|
class Settings:
|
||||||
PROJECT_NAME: str = "Kontor"
|
PROJECT_NAME: str = "Kontor"
|
||||||
PROJECT_VERSION: str = "0.1.0"
|
PROJECT_VERSION: str = "0.2.0"
|
||||||
|
|
||||||
MARIADB_USER: str = os.getenv("MARIADB_USER", "kontor")
|
DB_USER: str = os.getenv("DB_USER", "kontor")
|
||||||
MARIADB_PASSWORD: str = os.getenv("MARIADB_PASSWORD", "kontor")
|
DB_PASSWORD: str = os.getenv("DB_PASSWORD", "kontor")
|
||||||
MARIADB_SERVER: str = os.getenv("MARIADB_SERVER", "mariadb")
|
DB_SERVER: str = os.getenv("DB_SERVER", "mariadb")
|
||||||
MARIADB_PORT: str = os.getenv("MARIADB_PORT", 3306)
|
DB_PORT: str = os.getenv("DB_PORT", 5432)
|
||||||
MARIADB_DB: str = os.getenv("MARIADB_DB", "kontor")
|
DB_DBNAME: str = os.getenv("DB_DBNAME", "kontor")
|
||||||
DATABASE_URL: str = f"mariadb+mariadbconnector://{MARIADB_USER}:{MARIADB_PASSWORD}@{MARIADB_SERVER}:{MARIADB_PORT}/{MARIADB_DB}"
|
DATABASE_URL: str = f"postgresql://{DB_USER}:{DB_PASSWORD}@{DB_SERVER}:{DB_PORT}/{DB_DBNAME}"
|
||||||
|
|
||||||
|
|
||||||
settings = Settings()
|
settings = Settings()
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
description='Kontor with Spring Boot'
|
description='Kontor with Spring Boot'
|
||||||
version=0.1.0-SNAPSHOT
|
version=0.2.0-SNAPSHOT
|
||||||
group=de.thpeetz
|
group=de.thpeetz
|
||||||
|
|||||||
Reference in New Issue
Block a user