-
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.
- Loading branch information
Showing
170 changed files
with
2,643 additions
and
2,404 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.231.6/containers/docker-existing-dockerfile | ||
{ | ||
"name": "Existing Dockerfile", | ||
|
||
// Sets the run context to one level up instead of the .devcontainer folder. | ||
"context": "..", | ||
|
||
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename. | ||
"dockerFile": "../Dockerfile", | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": {}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [] | ||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Uncomment the next line to run commands after the container is created - for example installing curl. | ||
// "postCreateCommand": "apt-get update && apt-get install -y curl", | ||
|
||
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust | ||
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], | ||
|
||
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker. | ||
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ], | ||
|
||
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root. | ||
// "remoteUser": "vscode" | ||
} |
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,141 @@ | ||
version: '3' | ||
|
||
services: | ||
nginx: | ||
build: ./nginx | ||
ports: | ||
- "80:80" | ||
volumes: | ||
- staticvol:/opt/app/static | ||
- mediavol:/opt/app/mediafiles | ||
depends_on: | ||
- "dev" | ||
|
||
database: | ||
image: "postgres" | ||
environment: | ||
- POSTGRES_DB=postgres | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD=postgres | ||
volumes: | ||
- db:/var/lib/postgresql/data | ||
ports: | ||
- "5432:5432" | ||
|
||
dev: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
entrypoint: "./build-dev.sh" | ||
volumes: | ||
- .:/build | ||
- staticvol:/opt/app/static | ||
- mediavol:/opt/app/mediafiles | ||
ports: | ||
- "8081:8081" | ||
environment: | ||
- DEBUG=True | ||
- QLDB_ENABLED="FALSE" | ||
- qldb_name="fEMR-OnChain-Test" | ||
- ADMIN_NAME="" | ||
- ADMIN_EMAIL="" | ||
- EMAIL_HOST="" | ||
- EMAIL_PORT="" | ||
- EMAIL_USERNAME="" | ||
- EMAIL_PASSWORD="" | ||
- DEFAULT_FROM_EMAIL="" | ||
- SERVER_EMAIL="" | ||
- ENVIRONMENT="LOCAL" | ||
- SECRET_KEY=2HY>fXi!dQ&(9Vf.XghCa;L6G=Ul4r-Bwqh>ae0RG3vIh1ZJ%T | ||
- POSTGRES_DB=postgres | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASS=postgres | ||
- POSTGRES_NAME=database | ||
- ENVIRONMENT=LOCAL | ||
depends_on: | ||
- "database" | ||
- "cache" | ||
|
||
celery_beat: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile-celery | ||
volumes: | ||
- .:/build | ||
entrypoint: "./build-celery-beat.sh" | ||
environment: | ||
- DEBUG=True | ||
- QLDB_ENABLED="FALSE" | ||
- qldb_name="fEMR-OnChain-Test" | ||
- ADMIN_NAME="" | ||
- ADMIN_EMAIL="" | ||
- EMAIL_HOST="" | ||
- EMAIL_PORT="" | ||
- EMAIL_USERNAME="" | ||
- EMAIL_PASSWORD="" | ||
- DEFAULT_FROM_EMAIL="" | ||
- SERVER_EMAIL="" | ||
- ENVIRONMENT="LOCAL" | ||
- SECRET_KEY=2HY>fXi!dQ&(9Vf.XghCa;L6G=Ul4r-Bwqh>ae0RG3vIh1ZJ%T | ||
- CELERY_BROKER=redis://redis:6379/0 | ||
- CELERY_BACKEND=redis://redis:6379/0 | ||
- POSTGRES_DB=postgres | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASS=postgres | ||
- POSTGRES_NAME=database | ||
- ENVIRONMENT=LOCAL | ||
depends_on: | ||
- "dev" | ||
- "redis" | ||
- "database" | ||
|
||
celery: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile-celery | ||
volumes: | ||
- .:/build | ||
entrypoint: "./build-celery.sh" | ||
environment: | ||
- DEBUG=True | ||
- QLDB_ENABLED="FALSE" | ||
- qldb_name="fEMR-OnChain-Test" | ||
- ADMIN_NAME="" | ||
- ADMIN_EMAIL="" | ||
- EMAIL_HOST="" | ||
- EMAIL_PORT="" | ||
- EMAIL_USERNAME="" | ||
- EMAIL_PASSWORD="" | ||
- DEFAULT_FROM_EMAIL="" | ||
- SERVER_EMAIL="" | ||
- ENVIRONMENT="LOCAL" | ||
- SECRET_KEY=2HY>fXi!dQ&(9Vf.XghCa;L6G=Ul4r-Bwqh>ae0RG3vIh1ZJ%T | ||
- CELERY_BROKER=redis://redis:6379/0 | ||
- CELERY_BACKEND=redis://redis:6379/0 | ||
- POSTGRES_DB=postgres | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASS=postgres | ||
- POSTGRES_NAME=database | ||
- ENVIRONMENT=LOCAL | ||
depends_on: | ||
- "dev" | ||
- "redis" | ||
- "database" | ||
|
||
redis: | ||
image: redis:6-alpine | ||
ports: | ||
- "6379:6379" | ||
|
||
cache: | ||
image: memcached | ||
ports: | ||
- "11211:11211" | ||
entrypoint: | ||
- memcached | ||
- -m 64 | ||
|
||
volumes: | ||
db: | ||
staticvol: | ||
mediavol: |
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,4 +1,5 @@ | ||
.idea/ | ||
export/ | ||
env/ | ||
.vs/ | ||
venv/ | ||
|
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,3 @@ | ||
#!/bin/bash | ||
/opt/app/build.sh all | ||
celery --app=femr_onchain beat --loglevel=info |
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
Submodule clinic_messages
updated
4 files
+12 −0 | decorators.py | |
+36 −18 | templates/messages/list/list.html | |
+33 −16 | templates/messages/list/sent_list.html | |
+116 −126 | views.py |
Oops, something went wrong.