Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Compose (ECR Viewer, Query Connector) +portainer 🐳 #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions ecr-viewer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
version: '3.8'

services:
ecr-viewer:
image: ghcr.io/cdcgov/phdi/ecr-viewer:v1.7.2
restart: unless-stopped
env_file: "ecr-viewer.env"
ports:
- "3000:3000"
networks:
- dibbs

ingestion:
image: ghcr.io/cdcgov/phdi/ingestion:v1.7.2
restart: unless-stopped
ports:
- "8080:8080"
networks:
- dibbs

validation:
image: ghcr.io/cdcgov/phdi/validation:v1.7.2
restart: unless-stopped
ports:
- "8081:8080"
networks:
- dibbs

fhir-converter:
image: ghcr.io/cdcgov/phdi/fhir-converter:v1.7.2
restart: unless-stopped
ports:
- "8082:8080"
networks:
- dibbs

message-parser:
image: ghcr.io/cdcgov/phdi/message-parser:v1.7.2
restart: unless-stopped
ports:
- "8083:8080"
networks:
- dibbs

trigger-code-reference:
image: ghcr.io/cdcgov/phdi/trigger-code-reference:v1.7.2
restart: unless-stopped
ports:
- "8084:8080"
networks:
- dibbs

orchestration:
image: ghcr.io/cdcgov/phdi/orchestration:v1.7.2
env_file: "orchestration.env"
restart: unless-stopped
ports:
- "8085:8080"
networks:
- dibbs

portainer:
image: portainer/portainer-ce
restart: unless-stopped
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
networks:
- dibbs

volumes:
portainer_data:

networks:
dibbs:
14 changes: 14 additions & 0 deletions ecr-viewer/ecr-viewer.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
AWS_REGION=${AWS_REGION}
ECR_BUCKET_NAME=${ECR_BUCKET_NAME}
HOSTNAME=0.0.0.0
NEXT_PUBLIC_NON_INTEGRATED_VIEWER=${NEXT_PUBLIC_NON_INTEGRATED_VIEWER}
SOURCE=${SOURCE}
APP_ENV=${APP_ENV}
NBS_PUB_KEY=${NBS_PUB_KEY}
NEXT_PUBLIC_BASEPATH=${NEXT_PUBLIC_BASEPATH}
METADATA_DATABASE_TYPE=${METADATA_DATABASE_TYPE}
METADATA_DATABASE_SCHEMA=${METADATA_DATABASE_SCHEMA}
DATABASE_URL=${DATABASE_URL}
SQL_SERVER_USER=${SQL_SERVER_USER}
SQL_SERVER_PASSWORD=${SQL_SERVER_PASSWORD}
SQL_SERVER_HOST=${SQL_SERVER_HOST}
8 changes: 8 additions & 0 deletions ecr-viewer/orchestration.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
OTEL_METRICS=none
OTEL_METRICS_EXPORTER=none
ECR_VIEWER_URL=http://ecr-viewer:3000/ecr-viewer
INGESTION_URL=http://ingestion:8080
VALIDATION_URL=http://validation:8080
FHIR_CONVERTER_URL=http://fhir-converter:8080
MESSAGE_PARSER_URL=http://message-parser:8080
TRIGGER_CODE_REFERENCE_URL=http://trigger-code-reference:8080
20 changes: 20 additions & 0 deletions query-connector/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: '3.8'

services:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a placeholder-ish, as I'm less familiar with the requirements around the Query Connector. I am happy to chat about what may need to be added here to merge it, or Shanice can create a follow-up PR when she is able.


portainer:
image: portainer/portainer-ce
restart: unless-stopped
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
networks:
- dibbs

volumes:
portainer_data:

networks:
dibbs: