-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add init scripts for aws and azure * create constant s3Client to be shared * If there are 0 pages show 1 page * add all services to orchestration's docker-compose.yml * create single integrated.json for orchestration -> ecr-viewer * Revert "If there are 0 pages show 1 page" This reverts commit 1d2ac53. * remove init script for azure * seperate docker compose db and seed scripts * Remove save source from ecr-viewer-config to allow it to be set by user * install dotenvx * remove quotes in environment variables :( * remove unused check-sourc-env.mjs * replace ecr viewer's docker compose * replace seed script docker-compose * update orchestration config to extend main docker-compose * update ECR_VIEWER_URL in orchestration and update paths * add .env.sample * fix ecr viewer in orchestration docker compose * add profiles to aws and azure * remove .env.e2e * fix lighthouse app * rename step to be start app * skip lighthouse since currently it doesn't do anything anyways * update readme * update dotenv command * fix design review * add all profiles to ecr-viewer and some to postgres * Update containers/orchestration/docker-compose.yml * move entrypoint to seed-scripts * fix the down commands in convert-seed-data * update orchestration env file location * update run command to just use docker
- Loading branch information
Showing
19 changed files
with
491 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
APP_ENV=test | ||
NEXT_PUBLIC_NON_INTEGRATED_VIEWER=true | ||
SOURCE=postgres | ||
|
||
# Azure Connection | ||
AZURE_STORAGE_CONNECTION_STRING="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://localhost:10000/devstoreaccount1;" | ||
AZURE_CONTAINER_NAME=ecr-viewer-files | ||
|
||
# AWS Connection | ||
AWS_REGION=us-east-1 | ||
AWS_CUSTOM_ENDPOINT=http://localhost:4566 | ||
ECR_BUCKET_NAME=ecr-viewer-files | ||
AWS_ACCESS_KEY_ID=123 | ||
AWS_SECRET_ACCESS_KEY=xyz | ||
|
||
# Metadata | ||
DATABASE_URL=postgres://postgres:pw@localhost:5432/ecr_viewer_db | ||
METADATA_DATABASE_TYPE=postgres | ||
METADATA_DATABASE_SCHEMA=core | ||
|
||
# SQL Server | ||
SQL_SERVER_USER=sa | ||
SQL_SERVER_PASSWORD=Password1! | ||
SQL_SERVER_SERVER=sqlserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
awslocal s3 mb s3://ecr-viewer-files |
70 changes: 70 additions & 0 deletions
70
containers/ecr-viewer/seed-scripts/docker-compose-seed.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
services: | ||
fhir-converter-service: | ||
build: | ||
context: ../../fhir-converter/ | ||
ports: | ||
- "8082:8080" | ||
|
||
ingestion-service: | ||
platform: linux/amd64 | ||
build: | ||
context: ../../ingestion | ||
ports: | ||
- "8083:8080" | ||
logging: | ||
driver: "json-file" | ||
environment: | ||
SMARTY_AUTH_ID: ${SMARTY_AUTH_ID} | ||
SMARTY_AUTH_TOKEN: ${SMARTY_AUTH_TOKEN} | ||
|
||
message-parser-service: | ||
platform: linux/amd64 | ||
build: | ||
context: ../../message-parser | ||
ports: | ||
- "8085:8080" | ||
logging: | ||
driver: "json-file" | ||
|
||
trigger-code-reference-service: | ||
platform: linux/amd64 | ||
build: | ||
context: ../../trigger-code-reference | ||
ports: | ||
- "8086:8080" | ||
logging: | ||
driver: "json-file" | ||
|
||
orchestration-service: | ||
platform: linux/amd64 | ||
build: | ||
context: ../../orchestration/ | ||
depends_on: | ||
- fhir-converter-service | ||
- ingestion-service | ||
- message-parser-service | ||
ports: | ||
- "8080:8080" | ||
logging: | ||
driver: "json-file" | ||
env_file: | ||
- ../../orchestration/.env | ||
environment: | ||
- OTEL_TRACES_EXPORTER=none | ||
- OTEL_METRICS_EXPORTER=none | ||
- ECR_VIEWER_URL=http://host.docker.internal:3000/ecr-viewer | ||
healthcheck: | ||
test: ["CMD", "curl", "-f", "http://orchestration-service:8080/"] | ||
interval: 10s | ||
timeout: 20s | ||
retries: 5 | ||
|
||
convert-data: | ||
build: . | ||
depends_on: | ||
orchestration-service: | ||
condition: service_healthy | ||
ports: | ||
- "8081:8081" | ||
volumes: | ||
- ./baseECR:/code/baseECR |
Oops, something went wrong.