Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dp-population-types-api to cantabular journey #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cantabular-import/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
COMPOSE_FILE=deps.yml:dp-import-api.yml:dp-import-cantabular-dataset.yml:dp-import-cantabular-dimension-options.yml:dp-cantabular-server.yml:dp-cantabular-api-ext.yml:dp-dataset-api.yml:dp-cantabular-csv-exporter.yml:dp-cantabular-dimension-api.yml:dp-cantabular-filter-flex-api.yml:dp-cantabular-metadata-service.yml:dp-cantabular-metadata-exporter.yml:dp-cantabular-xlsx-exporter.yml:dp-recipe-api.yml:dp-filter-api.yml:zebedee.yml:dp-download-service.yml:dp-frontend-dataset-controller.yml:dp-api-router.yml:dp-frontend-router.yml:dp-publishing-dataset-controller.yml:florence.yml:the-train.yml:babbage.yml:dp-frontend-filter-flex-dataset.yml
COMPOSE_FILE=deps.yml:dp-import-api.yml:dp-import-cantabular-dataset.yml:dp-import-cantabular-dimension-options.yml:dp-cantabular-server.yml:dp-cantabular-api-ext.yml:dp-dataset-api.yml:dp-cantabular-csv-exporter.yml:dp-cantabular-dimension-api.yml:dp-cantabular-filter-flex-api.yml:dp-cantabular-metadata-service.yml:dp-cantabular-metadata-exporter.yml:dp-cantabular-xlsx-exporter.yml:dp-recipe-api.yml:dp-filter-api.yml:zebedee.yml:dp-download-service.yml:dp-frontend-dataset-controller.yml:dp-api-router.yml:dp-frontend-router.yml:dp-publishing-dataset-controller.yml:florence.yml:the-train.yml:babbage.yml:dp-frontend-filter-flex-dataset.yml:dp-population-types-api.yml
COMPOSE_PATH_SEPARATOR=:
COMPOSE_PROJECT_NAME=cantabular-import-journey
23 changes: 12 additions & 11 deletions cantabular-import/dp-cantabular-metadata-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ services:
- 26700:26700
restart: unless-stopped
environment:
BIND_ADDR: ":26700"
KAFKA_ADDR: "kafka-1:19092,kafka-2:19092,kafka-3:19092"
VAULT_ADDR: "http://vault:8200"
DATASET_API_URL: "http://dp-dataset-api:22000"
LOCAL_OBJECT_STORE: "http://minio:9000"
MINIO_ACCESS_KEY: "minio-access-key"
MINIO_SECRET_KEY: "minio-secret-key"
SERVICE_AUTH_TOKEN: $SERVICE_AUTH_TOKEN
VAULT_TOKEN: "0000-0000-0000-0000"
PUBLIC_BUCKET: "public-bucket"
PRIVATE_BUCKET: "private-bucket"
BIND_ADDR: ":26700"
KAFKA_ADDR: "kafka-1:19092,kafka-2:19092,kafka-3:19092"
VAULT_ADDR: "http://vault:8200"
DATASET_API_URL: "http://dp-dataset-api:22000"
FILTER_API_URL: "http://dp-filter-api:22100"
LOCAL_OBJECT_STORE: "http://minio:9000"
MINIO_ACCESS_KEY: "minio-access-key"
MINIO_SECRET_KEY: "minio-secret-key"
SERVICE_AUTH_TOKEN: $SERVICE_AUTH_TOKEN
VAULT_TOKEN: "0000-0000-0000-0000"
PUBLIC_BUCKET: "public-bucket"
PRIVATE_BUCKET: "private-bucket"
23 changes: 23 additions & 0 deletions cantabular-import/dp-population-types-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: '3.3'
services:
dp-population-types-api:
build:
context: ../../dp-population-types-api
dockerfile: Dockerfile.local
command:
- reflex
- -d
- none
- -c
- ./reflex
volumes:
- ../../dp-population-types-api:/dp-population-types-api
ports:
- 12900:12900
restart: unless-stopped
environment:
BIND_ADDR: ":12900"
SERVICE_AUTH_TOKEN: $SERVICE_AUTH_TOKEN
DATASET_API_URL: "http://dp-dataset-api:22000"
CANTABULAR_URL: "http://dp-cantabular-server:8491"
CANTABULAR_API_EXT_URL: "http://dp-cantabular-api-ext:8492"