Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release-0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSchneider committed May 10, 2019
2 parents 5c092bf + 38a164a commit d1c9b6e
Show file tree
Hide file tree
Showing 20 changed files with 1,097 additions and 928 deletions.
40 changes: 9 additions & 31 deletions docker-compose.insecure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ services:
- /app/wait-for-it-extra.sh
- ${NLP_SOLR_HOSTNAME}:${NLP_SOLR_CONTAINER_PORT}
- ${REDIS_HOSTNAME}:${REDIS_CONTAINER_PORT}
- ${NLP_API_HOSTNAME}:${NLP_API_CONTAINER_PORT}
- ${INGEST_MONGO_HOSTNAME}:${INGEST_MONGO_CONTAINER_PORT}
- --timeout=420
- --
Expand All @@ -213,22 +214,29 @@ services:
- NLP_SOLR_CONTAINER_PORT=${NLP_SOLR_CONTAINER_PORT}
- NLP_CORE_NAME=${NLP_CORE_NAME}
- NLP_SOLR_URL_TOP_LEVEL=${NLP_SOLR_URL_TOP_LEVEL}
- NLP_API_HOSTNAME=${NLP_API_HOSTNAME}
- NLP_API_CONTAINER_PORT=${NLP_API_CONTAINER_PORT}
- INTERVAL=${INTERVAL}
- INGEST_MONGO_USERNAME=${INGEST_MONGO_USERNAME}
- INGEST_MONGO_PASSWORD=${INGEST_MONGO_PASSWORD}
- INGEST_MONGO_HOSTNAME=${INGEST_MONGO_HOSTNAME}
- INGEST_MONGO_CONTAINER_PORT=${INGEST_MONGO_CONTAINER_PORT}
- INGEST_MONGO_DATABASE=${INGEST_MONGO_DATABASE}
- BASE_URL=${BASE_URL}
- INGEST_CLIENT_HOST_PORT=${INGEST_CLIENT_HOST_PORT}
- INGEST_API_LOG_LEVEL=${INGEST_API_LOG_LEVEL}
- REDIS_HOSTNAME=${REDIS_HOSTNAME}
- REDIS_CONTAINER_PORT=${REDIS_CONTAINER_PORT}
- PROTOCOL=${PROTOCOL}
- DOMAIN=${DOMAIN}
- INGEST_CLIENT_SUBDOMAIN=${INGEST_CLIENT_SUBDOMAIN}
- DASHBOARD_CLIENT_SUBDOMAIN=${DASHBOARD_CLIENT_SUBDOMAIN}
networks:
- clarity
depends_on:
- ingest-mongo
- redis
- nlp-solr
- nlp-api

ingest-mongo:
container_name: ${INGEST_MONGO_CONTAINER_NAME}
Expand Down Expand Up @@ -315,36 +323,6 @@ services:
networks:
- clarity

dashboard-api:
container_name: DASHBOARD_API
hostname: ${DASHBOARD_API_HOSTNAME}
build: ./utilities/dashboard-client
expose:
- ${DASHBOARD_API_CONTAINER_PORT}
volumes:
- ./utilities/dashboard-client:/app
- /app/node_modules
entrypoint:
- /app/wait-for-it-extra.sh
- ${NLP_SOLR_HOSTNAME}:${NLP_SOLR_CONTAINER_PORT}
- ${NLP_API_HOSTNAME}:${NLP_API_CONTAINER_PORT}
- --timeout=420
- --
- pm2-dev
command: process.json
environment:
- DASHBOARD_API_CONTAINER_PORT=${DASHBOARD_API_CONTAINER_PORT}
- NLP_API_HOSTNAME=${NLP_API_HOSTNAME}
- NLP_API_CONTAINER_PORT=${NLP_API_CONTAINER_PORT}
- NLP_SOLR_HOSTNAME=${NLP_SOLR_HOSTNAME}
- NLP_SOLR_CONTAINER_PORT=${NLP_SOLR_CONTAINER_PORT}
- INTERVAL=${INTERVAL}
networks:
- clarity
depends_on:
- nlp-api
- nlp-solr

nginx-proxy:
container_name: NGINX_PROXY
hostname: nginx-proxy
Expand Down
35 changes: 6 additions & 29 deletions docker-compose.prod.dnsmasq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ services:
- ${NLP_SOLR_HOSTNAME}:${NLP_SOLR_CONTAINER_PORT}
- ${REDIS_HOSTNAME}:${REDIS_CONTAINER_PORT}
- ${INGEST_MONGO_HOSTNAME}:${INGEST_MONGO_CONTAINER_PORT}
- ${NLP_API_HOSTNAME}:${NLP_API_CONTAINER_PORT}
- --timeout=420
- --
- pm2-runtime
Expand All @@ -245,6 +246,9 @@ services:
- NLP_SOLR_CONTAINER_PORT=${NLP_SOLR_CONTAINER_PORT}
- NLP_CORE_NAME=${NLP_CORE_NAME}
- NLP_SOLR_URL_TOP_LEVEL=${NLP_SOLR_URL_TOP_LEVEL}
- NLP_API_HOSTNAME=${NLP_API_HOSTNAME}
- NLP_API_CONTAINER_PORT=${NLP_API_CONTAINER_PORT}
- INTERVAL=${INTERVAL}
- INGEST_MONGO_USERNAME=${INGEST_MONGO_USERNAME}
- INGEST_MONGO_PASSWORD=${INGEST_MONGO_PASSWORD}
- INGEST_MONGO_HOSTNAME=${INGEST_MONGO_HOSTNAME}
Expand All @@ -257,12 +261,14 @@ services:
- PROTOCOL=${PROTOCOL}
- DOMAIN=${DOMAIN}
- INGEST_CLIENT_SUBDOMAIN=${INGEST_CLIENT_SUBDOMAIN}
- DASHBOARD_CLIENT_SUBDOMAIN=${DASHBOARD_CLIENT_SUBDOMAIN}
networks:
- clarity
depends_on:
- ingest-mongo
- redis
- nlp-solr
- nlp-api

ingest-mongo:
container_name: ${INGEST_MONGO_CONTAINER_NAME}
Expand Down Expand Up @@ -353,35 +359,6 @@ services:
networks:
- clarity

dashboard-api:
container_name: DASHBOARD_API
hostname: ${DASHBOARD_API_HOSTNAME}
build: ./utilities/dashboard-client
volumes:
- /app/node_modules
expose:
- ${DASHBOARD_API_CONTAINER_PORT}
entrypoint:
- /app/wait-for-it-extra.sh
- ${NLP_SOLR_HOSTNAME}:${NLP_SOLR_CONTAINER_PORT}
- ${NLP_API_HOSTNAME}:${NLP_API_CONTAINER_PORT}
- --timeout=420
- --
- pm2-runtime
command: index.js
environment:
- DASHBOARD_API_CONTAINER_PORT=${DASHBOARD_API_CONTAINER_PORT}
- NLP_API_HOSTNAME=${NLP_API_HOSTNAME}
- NLP_API_CONTAINER_PORT=${NLP_API_CONTAINER_PORT}
- NLP_SOLR_HOSTNAME=${NLP_SOLR_HOSTNAME}
- NLP_SOLR_CONTAINER_PORT=${NLP_SOLR_CONTAINER_PORT}
- INTERVAL=${INTERVAL}
networks:
- clarity
depends_on:
- nlp-api
- nlp-solr

nginx-proxy:
container_name: NGINX_PROXY
hostname: nginx-proxy
Expand Down
35 changes: 6 additions & 29 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ services:
- ${NLP_SOLR_HOSTNAME}:${NLP_SOLR_CONTAINER_PORT}
- ${REDIS_HOSTNAME}:${REDIS_CONTAINER_PORT}
- ${INGEST_MONGO_HOSTNAME}:${INGEST_MONGO_CONTAINER_PORT}
- ${NLP_API_HOSTNAME}:${NLP_API_CONTAINER_PORT}
- --timeout=420
- --
- pm2-runtime
Expand All @@ -249,6 +250,9 @@ services:
- NLP_SOLR_CONTAINER_PORT=${NLP_SOLR_CONTAINER_PORT}
- NLP_CORE_NAME=${NLP_CORE_NAME}
- NLP_SOLR_URL_TOP_LEVEL=${NLP_SOLR_URL_TOP_LEVEL}
- NLP_API_HOSTNAME=${NLP_API_HOSTNAME}
- NLP_API_CONTAINER_PORT=${NLP_API_CONTAINER_PORT}
- INTERVAL=${INTERVAL}
- INGEST_MONGO_USERNAME=${INGEST_MONGO_USERNAME}
- INGEST_MONGO_PASSWORD=${INGEST_MONGO_PASSWORD}
- INGEST_MONGO_HOSTNAME=${INGEST_MONGO_HOSTNAME}
Expand All @@ -261,12 +265,14 @@ services:
- PROTOCOL=${PROTOCOL}
- DOMAIN=${DOMAIN}
- INGEST_CLIENT_SUBDOMAIN=${INGEST_CLIENT_SUBDOMAIN}
- DASHBOARD_CLIENT_SUBDOMAIN=${DASHBOARD_CLIENT_SUBDOMAIN}
networks:
- clarity
depends_on:
- ingest-mongo
- redis
- nlp-solr
- nlp-api

ingest-mongo:
container_name: ${INGEST_MONGO_CONTAINER_NAME}
Expand Down Expand Up @@ -360,35 +366,6 @@ services:
networks:
- clarity

dashboard-api:
container_name: DASHBOARD_API
hostname: ${DASHBOARD_API_HOSTNAME}
build: ./utilities/dashboard-client
volumes:
- /app/node_modules
expose:
- ${DASHBOARD_API_CONTAINER_PORT}
entrypoint:
- /app/wait-for-it-extra.sh
- ${NLP_SOLR_HOSTNAME}:${NLP_SOLR_CONTAINER_PORT}
- ${NLP_API_HOSTNAME}:${NLP_API_CONTAINER_PORT}
- --timeout=420
- --
- pm2-runtime
command: index.js
environment:
- DASHBOARD_API_CONTAINER_PORT=${DASHBOARD_API_CONTAINER_PORT}
- NLP_API_HOSTNAME=${NLP_API_HOSTNAME}
- NLP_API_CONTAINER_PORT=${NLP_API_CONTAINER_PORT}
- NLP_SOLR_HOSTNAME=${NLP_SOLR_HOSTNAME}
- NLP_SOLR_CONTAINER_PORT=${NLP_SOLR_CONTAINER_PORT}
- INTERVAL=${INTERVAL}
networks:
- clarity
depends_on:
- nlp-api
- nlp-solr

nginx-proxy:
container_name: NGINX_PROXY
hostname: nginx-proxy
Expand Down
36 changes: 6 additions & 30 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ services:
- ${NLP_SOLR_HOSTNAME}:${NLP_SOLR_CONTAINER_PORT}
- ${REDIS_HOSTNAME}:${REDIS_CONTAINER_PORT}
- ${INGEST_MONGO_HOSTNAME}:${INGEST_MONGO_CONTAINER_PORT}
- ${NLP_API_HOSTNAME}:${NLP_API_CONTAINER_PORT}
- --timeout=420
- --
- pm2-dev
Expand All @@ -211,6 +212,9 @@ services:
- NLP_SOLR_CONTAINER_PORT=${NLP_SOLR_CONTAINER_PORT}
- NLP_CORE_NAME=${NLP_CORE_NAME}
- NLP_SOLR_URL_TOP_LEVEL=${NLP_SOLR_URL_TOP_LEVEL}
- NLP_API_HOSTNAME=${NLP_API_HOSTNAME}
- NLP_API_CONTAINER_PORT=${NLP_API_CONTAINER_PORT}
- INTERVAL=${INTERVAL}
- INGEST_MONGO_USERNAME=${INGEST_MONGO_USERNAME}
- INGEST_MONGO_PASSWORD=${INGEST_MONGO_PASSWORD}
- INGEST_MONGO_HOSTNAME=${INGEST_MONGO_HOSTNAME}
Expand All @@ -223,12 +227,14 @@ services:
- PROTOCOL=${PROTOCOL}
- DOMAIN=${DOMAIN}
- INGEST_CLIENT_SUBDOMAIN=${INGEST_CLIENT_SUBDOMAIN}
- DASHBOARD_CLIENT_SUBDOMAIN=${DASHBOARD_CLIENT_SUBDOMAIN}
networks:
- clarity
depends_on:
- ingest-mongo
- redis
- nlp-solr
- nlp-api

ingest-mongo:
container_name: ${INGEST_MONGO_CONTAINER_NAME}
Expand Down Expand Up @@ -315,36 +321,6 @@ services:
networks:
- clarity

dashboard-api:
container_name: DASHBOARD_API
hostname: ${DASHBOARD_API_HOSTNAME}
build: ./utilities/dashboard-client
expose:
- ${DASHBOARD_API_CONTAINER_PORT}
volumes:
- ./utilities/dashboard-client:/app
- /app/node_modules
entrypoint:
- /app/wait-for-it-extra.sh
- ${NLP_SOLR_HOSTNAME}:${NLP_SOLR_CONTAINER_PORT}
- ${NLP_API_HOSTNAME}:${NLP_API_CONTAINER_PORT}
- --timeout=420
- --
- pm2-dev
command: process.json
environment:
- DASHBOARD_API_CONTAINER_PORT=${DASHBOARD_API_CONTAINER_PORT}
- NLP_API_HOSTNAME=${NLP_API_HOSTNAME}
- NLP_API_CONTAINER_PORT=${NLP_API_CONTAINER_PORT}
- NLP_SOLR_HOSTNAME=${NLP_SOLR_HOSTNAME}
- NLP_SOLR_CONTAINER_PORT=${NLP_SOLR_CONTAINER_PORT}
- INTERVAL=${INTERVAL}
networks:
- clarity
depends_on:
- nlp-api
- nlp-solr

nginx-proxy:
container_name: NGINX_PROXY
hostname: nginx-proxy
Expand Down

0 comments on commit d1c9b6e

Please sign in to comment.