Skip to content

Commit

Permalink
initial docker compose configuration with dibbs (ecr-viewer, query-co…
Browse files Browse the repository at this point in the history
…nnector)+portainer servers, and ecr-viewer and orchestration .env files
  • Loading branch information
alismx committed Dec 4, 2024
1 parent 71bc419 commit f9681f5
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 0 deletions.
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:

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:

0 comments on commit f9681f5

Please sign in to comment.