-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from uwcirg/connectathon-refactor
Connectathon refactor
- Loading branch information
Showing
64 changed files
with
17,346 additions
and
2,733 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
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 |
---|---|---|
@@ -1,2 +1,36 @@ | ||
# Default docker-compose environment file; copy to .env and modify as necessary | ||
# `docker-compose` must be run in the same directory as this file | ||
# https://docs.docker.com/compose/environment-variables/#the-env-file | ||
# environmental variables for interpolation in docker-compose YAML files | ||
|
||
# https://docs.docker.com/compose/reference/envvars/#compose_project_name | ||
# Containers started with the below value will have their names prefixed with it | ||
# Choose something unique to the docker host, eg ${INSTANCE_ID}-dev-${USER} | ||
COMPOSE_PROJECT_NAME= | ||
|
||
# Port to expose to internet; use in SERVER_NAME (portal.env) | ||
# EXTERNAL_PORT= | ||
# EXTERNAL_PORT= | ||
|
||
# Enable to use dynamic ingress overrides | ||
# COMPOSE_FILE=docker-compose.yaml:docker-compose.traefik-ingress.yaml | ||
|
||
# Enable to use static ingress overrides | ||
COMPOSE_FILE=docker-compose.yaml:docker-compose.static-ingress.yaml | ||
|
||
# Fully qualified domain name; used to configure ingress | ||
# SERVER_NAME=foo.cirg.uw.edu | ||
|
||
# Enable to use development overrides | ||
# COMPOSE_FILE=docker-compose.yaml:docker-compose.dev.yaml | ||
|
||
VITE_EPIC_CLIENT_ID= | ||
VITE_CERNER_CLIENT_ID= | ||
|
||
# SHL Server API endpoint url | ||
VITE_API_BASE= | ||
|
||
# SHL Viewer url | ||
VITE_VIEWER_BASE= | ||
|
||
# FHIR Server endpoint url | ||
VITE_INTERMEDIATE_FHIR_SERVER_BASE= |
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,6 @@ | ||
# If overrides to .env values are needed for development | ||
# VITE_API_BASE= | ||
# VITE_INTERMEDIATE_FHIR_SERVER_BASE= | ||
|
||
# Override vite dev server port | ||
# DEV_SERVER_PORT= |
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,8 @@ | ||
|
||
version: "3.4" | ||
services: | ||
shlips: | ||
command: npm run dev | ||
volumes: | ||
- ./src:/opt/app/src | ||
- ./static:/opt/app/static |
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,9 @@ | ||
# docker-compose override to expose web container port (80) to local VM | ||
# listens on the local VM at http://localhost:${EXTERNAL_PORT} | ||
--- | ||
version: "3.9" | ||
services: | ||
shlips: | ||
# Allow override of published port | ||
ports: | ||
- "127.0.0.1:${EXTERNAL_PORT:-3000}:3000" |
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,20 @@ | ||
# docker-compose ingress overrides for traefik | ||
--- | ||
version: "3.9" | ||
services: | ||
shlips: | ||
labels: | ||
- traefik.enable=true | ||
# Traefik will route requests with Host matching the SERVER_NAME environment variable (see .env) | ||
- traefik.http.routers.shlips-${COMPOSE_PROJECT_NAME}.rule=Host(`${SERVER_NAME}`) | ||
|
||
- traefik.http.routers.shlips-${COMPOSE_PROJECT_NAME}.entrypoints=websecure | ||
- traefik.http.routers.shlips-${COMPOSE_PROJECT_NAME}.tls=true | ||
- traefik.http.routers.shlips-${COMPOSE_PROJECT_NAME}.tls.certresolver=letsencrypt | ||
networks: | ||
- ingress | ||
networks: | ||
# ingress network | ||
ingress: | ||
name: external_web | ||
external: "true" |
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
Oops, something went wrong.