Skip to content

Commit

Permalink
Merge branch 'all-config-with-env' of https://github.com/ntia/scos-se…
Browse files Browse the repository at this point in the history
…nsor into all-config-with-env
  • Loading branch information
aromanielloNTIA committed May 10, 2024
2 parents 340588c + c795c98 commit 5aa2503
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/github-actions-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ jobs:
source ./env.template
export MOCK_SIGAN=1
export MOCK_SIGAN_RANDOM=1
export SSD_DEVICE=/dev/nvme0n1
docker-compose build --no-cache
docker-compose up -d
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ settings in the environment file:
- ADMIN_EMAIL: Email used to generate admin user. Change in production.
- ADMIN_NAME: Username for the admin user.
- ADMIN_PASSWORD: Password used to generate admin user. Change in production.
- API_SHM_SIZE: Size to allocate shared memory (`/dev/shm`) in the API container. This
is currently used to allocate shared memory for parallel processing of IQ data with Ray.
- AUTHENTICATION: Authentication method used for scos-sensor. Supports `TOKEN` or
`CERT`.
- BASE_IMAGE: Base docker image used to build the API container. These docker
Expand Down Expand Up @@ -379,6 +381,9 @@ settings in the environment file:
[WebRelay](https://github.com/NTIA/Preselector) that may be used to power cycle
the signal analyzer if necessary. Note: specifics of power cycling behavior
are implemented within the signal analyzer implementations or actions.
- SSD_DEVICE: The device (e.g., `/dev/sda/`) which is mapped to `/dev/nvme0n1` within
the API container. This is currently only used to retrieve SSD SMART diagnostics (in
SCOS Actions).
- SSL_CA_PATH: Path to a CA certificate used to verify scos-sensor client
certificate(s) when authentication is set to CERT.
- SSL_CERT_PATH: Path to server SSL certificate. Replace the certificate in the
Expand Down
4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ services:
- IN_DOCKER=1
- IPS
- MAX_DISK_USAGE
- MOCK_SIGAN=1
- MOCK_SIGAN_RANDOM=1
- MOCK_SIGAN
- MOCK_SIGAN_RANDOM
- PATH_TO_CLIENT_CERT
- PATH_TO_VERIFY_CERT
- POSTGRES_PASSWORD
Expand Down

0 comments on commit 5aa2503

Please sign in to comment.