-
Notifications
You must be signed in to change notification settings - Fork 6
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 #4223 from unicef/feature/project_structure
Feature/project structure
- Loading branch information
Showing
3,616 changed files
with
955 additions
and
11,956 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,15 @@ | ||
REDIS_INSTANCE=redis:6379 | ||
PYTHONUNBUFFERED=1 | ||
SECRET_KEY=secretkey | ||
ENV=dev | ||
DEBUG=true | ||
CELERY_BROKER_URL=redis://redis:6379/0 | ||
CELERY_RESULT_BACKEND=redis://redis:6379/0 | ||
CACHE_LOCATION=redis://redis:6379/1 | ||
DATABASE_URL=postgis://postgres:postgres@db:5432/postgres | ||
DATABASE_URL_HUB_MIS=postgis://postgres:postgres@db:5432/mis_datahub | ||
DATABASE_URL_HUB_CA=postgis://postgres:postgres@db:5432/ca_datahub | ||
DATABASE_URL_HUB_ERP=postgis://postgres:postgres@db:5432/erp_datahub | ||
DATABASE_URL_HUB_REGISTRATION=postgis://postgres:postgres@db:5432/rdi_datahub | ||
USE_DUMMY_EXCHANGE_RATES=yes | ||
CELERY_TASK_ALWAYS_EAGER=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ENV=dev | ||
SECRET_KEY=31283012-38dasda | ||
POSTGRES_DB=postgres | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=postgres | ||
DATABASE_URL=postgis://postgres:postgres@db:5432/postgres | ||
DATABASE_URL_HUB_MIS=postgis://postgres:postgres@db:5432/mis_datahub | ||
DATABASE_URL_HUB_CA=postgis://postgres:postgres@db:5432/ca_datahub | ||
DATABASE_URL_HUB_ERP=postgis://postgres:postgres@db:5432/erp_datahub | ||
DATABASE_URL_HUB_REGISTRATION=postgis://postgres:postgres@db:5432/rdi_datahub | ||
POSTGRES_SSL_MODE=off | ||
EMAIL_HOST=TBD | ||
EMAIL_HOST_USER=TBD | ||
EMAIL_HOST_PASSWORD=TBD | ||
KOBO_KF_URL=https://kobo.humanitarianresponse.info | ||
KOBO_KC_URL=https://kobo.humanitarianresponse.info | ||
KOBO_MASTER_API_TOKEN=token | ||
EXCHANGE_RATES_API_KEY=token | ||
REDIS_INSTANCE=redis:6379 | ||
PYTHONUNBUFFERED=1 |
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 +1,3 @@ | ||
pipeline-*secret* | ||
|
||
.env |
File renamed without changes.
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,48 @@ | ||
volumes: | ||
backend-web-app: | ||
|
||
services: | ||
backend: | ||
volumes: | ||
- ../src/report/screenshot/:/code/screenshot/ | ||
- ../src/report/:/code/report/ | ||
- type: volume | ||
source: backend-web-app | ||
target: /code/hct_mis_api/apps/web | ||
volume: | ||
nocopy: false | ||
depends_on: | ||
db: | ||
condition: service_started | ||
redis: | ||
condition: service_started | ||
elasticsearch: | ||
condition: service_started | ||
celery_worker: | ||
condition: service_started | ||
init_fe: | ||
condition: service_completed_successfully | ||
env_file: | ||
- .env-selenium | ||
|
||
init_fe: | ||
image: ${dist_backend_image} | ||
volumes: | ||
- backend-web-app:/tmp/ | ||
command: | | ||
sh -c " | ||
cp -r ./hct_mis_api/apps/web/* /tmp/ | ||
" | ||
restart: "no" | ||
|
||
celery_worker: | ||
image: ${dev_backend_image} | ||
restart: unless-stopped | ||
command: "celery -A hct_mis_api.apps.core.celery worker -E -l info" | ||
depends_on: | ||
- db | ||
- redis | ||
- elasticsearch | ||
env_file: | ||
- .env-selenium | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.