💥 Rename API_KEY to IDFM_API_KEY

This commit is contained in:
2023-05-28 12:45:03 +02:00
parent 7fbdd0606c
commit 824536ddbe
2 changed files with 4 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ class TracingSettings(BaseModel):
class Settings(BaseSettings): class Settings(BaseSettings):
app_name: str app_name: str
idfm_api_key: SecretStr = Field(..., env="API_KEY") idfm_api_key: SecretStr = Field(..., env="IDFM_API_KEY")
clear_static_data: bool = Field(False, env="CLEAR_STATIC_DATA") clear_static_data: bool = Field(False, env="CLEAR_STATIC_DATA")
http: HttpSettings = HttpSettings() http: HttpSettings = HttpSettings()

View File

@@ -77,6 +77,9 @@ services:
carrramba-encore-rate-api: carrramba-encore-rate-api:
build: ./backend/ build: ./backend/
environment:
- CONFIG_PATH=./config.local.yaml
- IDFM_API_KEY=set_your_idfm_key_here
ports: ports:
- "127.0.0.1:8080:8080" - "127.0.0.1:8080:8080"