💥 Rename API_KEY to IDFM_API_KEY
This commit is contained in:
@@ -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()
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user