Skip to content

Commit 4791a30

Browse files
authored
Feat aws manager (#23)
* feat: aws manager * docs: updates readme
1 parent 005477e commit 4791a30

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

aind-slims-service-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

aind-slims-service-server/pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,10 @@ dynamic = ["version"]
1818

1919
dependencies = [
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]

aind-slims-service-server/src/aind_slims_service_server/configs.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
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
64
from pydantic import Field, SecretStr
75
from 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")

0 commit comments

Comments
 (0)