File tree Expand file tree Collapse file tree
aind-slims-service-server
src/aind_slims_service_server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Requires docker to build and run package locally.
1515
1616- Create a file called env/webapp.env with appropriate env variables.
1717- Run ` docker build -t aind-slims-service-server-local:latest . `
18- - Run ` docker run -p 58350:58350 -p 5000:80 --env-file=env/webapp.env aind-slims-service-server-local:latest `
18+ - Run ` docker run -p 5000:80 --env-file=env/webapp.env aind-slims-service-server-local:latest `
1919- Service will be available at ` http://localhost:5000 `
2020- Check docs at ` http://localhost:5000/docs `
2121
Original file line number Diff line number Diff line change @@ -18,11 +18,10 @@ dynamic = ["version"]
1818
1919dependencies = [
2020 ' pydantic>=2.0' ,
21- ' pydantic -settings>=2 .0' ,
21+ ' aind -settings-utils>=0.1 .0' ,
2222 ' fastapi[standard]>=0.114.0' ,
2323 ' slims-python-api' ,
24- ' networkx' ,
25- ' aind-settings-utils>=0.0.3' ,
24+ ' networkx'
2625]
2726
2827[project .optional-dependencies ]
Original file line number Diff line number Diff line change 11"""Module for settings to connect to SLIMS backend"""
22
3- from aind_settings_utils .aws import (
4- ParameterStoreAppBaseSettings ,
5- )
3+ from aind_settings_utils .aws import SecretsManagerBaseSettings
64from pydantic import Field , SecretStr
75from pydantic_settings import SettingsConfigDict
86
97
10- class Settings (ParameterStoreAppBaseSettings ):
8+ class Settings (SecretsManagerBaseSettings ):
119 """Settings for connecting to SLIMS Database."""
1210
1311 username : str = Field (..., description = "User name" )
You can’t perform that action at this time.
0 commit comments