Skip to content

Commit

Permalink
feat(PDC): Implement client registration (#163)
Browse files Browse the repository at this point in the history
* upgrade relaynet lib

* fix typo

* make fgastify config generic

* Implement pre-registration

* Work around Jest "feature"

* support multiple routes in fastify

* Support route options in fastify

* groundwork

* refactor

* refactor

* Complete registration

* add docker compose config

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
gnarea and kodiakhq[bot] authored Aug 31, 2020
1 parent bc18a2f commit 1bb1b7c
Show file tree
Hide file tree
Showing 26 changed files with 1,177 additions and 541 deletions.
8 changes: 8 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ services:
volumes:
- ./src:/opt/gw-dev/src:ro

poweb:
build:
dockerfile: Dockerfile.dev
image: relaynet-gw:local-dev
command: src/bin/poweb-server.ts
volumes:
- ./src:/opt/gw-dev/src:ro

pdc-outgoing-queue-worker:
build:
dockerfile: Dockerfile.dev
Expand Down
27 changes: 27 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,33 @@ services:
- object-store
- vault

poweb:
build:
dockerfile: Dockerfile
context: .
image: relaynet-gw:local
command: build/main/bin/poweb-server.js
init: true
environment:
GATEWAY_KEY_ID: ${GATEWAY_KEY_ID}
MONGO_URI: ${MONGO_URI}
NATS_SERVER_URL: ${NATS_SERVER_URL}
NATS_CLUSTER_ID: ${NATS_CLUSTER_ID}
OBJECT_STORE_BUCKET: ${OBJECT_STORE_BUCKET}
OBJECT_STORE_ENDPOINT: ${OBJECT_STORE_ENDPOINT}
OBJECT_STORE_ACCESS_KEY_ID: ${OBJECT_STORE_ACCESS_KEY_ID}
OBJECT_STORE_SECRET_KEY: ${OBJECT_STORE_SECRET_KEY}
OBJECT_STORE_TLS_ENABLED: ${OBJECT_STORE_TLS_ENABLED}
VAULT_URL: ${VAULT_URL}
VAULT_TOKEN: ${VAULT_TOKEN}
VAULT_KV_PREFIX: ${VAULT_KV_PREFIX}
ports:
- '127.0.0.1:8082:8080'
links:
- mongodb
- nats
- object-store

pdc-outgoing-queue-worker:
build:
dockerfile: Dockerfile
Expand Down
Loading

0 comments on commit 1bb1b7c

Please sign in to comment.