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

Fixes for new resolver & publish #441

Merged
merged 23 commits into from
Aug 19, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
45f7474
contracts: sync logfiles + more docs
m0ar Jun 28, 2024
2a7898d
Add new sync logs
m0ar Jul 22, 2024
021e186
server: getIndexedResearchObject uses new resolver
m0ar Jul 24, 2024
4346ba0
nodeslib: publish method also returns associated dpid
m0ar Jul 25, 2024
8753816
server: reverse sort order of versions to match old API behaviour
m0ar Jul 26, 2024
5eb0b54
server: cleanup raw resolve controller, tinyfix PublishServices dpid …
m0ar Jul 26, 2024
602aa96
Update getIndexedROs and getBlockTime to work with resolver data
m0ar Jul 29, 2024
7b3c333
Add resolver to compose cluster
m0ar Jul 29, 2024
a4a7496
registry: fix missed pages in registry sync scripts
m0ar Jul 30, 2024
46d1763
server: add route for fetching uuid/node by dpid alias
m0ar Jul 31, 2024
3ee0f33
contracts: add new sync artifacts from today
m0ar Aug 1, 2024
5e34f06
Fix docker-compose oopsie using my local paths
m0ar Aug 1, 2024
fd6ee84
server: add dpidAlias in response from a few listing controllers
m0ar Aug 5, 2024
9be6208
Fix broken workflows after github deprecated legacy docker-compose tool
m0ar Aug 7, 2024
3ae83d4
contracts: deploy dpid subgraph from sibling repo in startTestChain.sh
m0ar Aug 8, 2024
02fb087
server: add unpermissioned explore route for published nodes
m0ar Aug 9, 2024
4d057f9
ceramic: bump CERAMIC_PUBSUB_QPS_LIMIT to prevent rate limiting on in…
m0ar Aug 9, 2024
50cfa2a
server: fix logic bug after recent develop reverts
m0ar Aug 12, 2024
d610817
repo: fix runaway pg-pool client, add grateful crash handlers
m0ar Aug 13, 2024
b1c2709
server: fix ordering of explore query, simplify using backend state
m0ar Aug 13, 2024
c013fe1
server: fix so deferredEmails are triggered during syncPublish
m0ar Aug 15, 2024
1b5f1dd
media-isolated: fix local infinite loop bug, fix logging issues
m0ar Aug 15, 2024
cb661e3
contracts: migration sync, remove duplicate script
m0ar Aug 19, 2024
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
Prev Previous commit
Next Next commit
Add resolver to compose cluster
  • Loading branch information
m0ar committed Aug 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 7b3c333fc668424d8eb0d7c1575045ceebfeb9ce
51 changes: 34 additions & 17 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
db_postgres:
container_name: "db_boilerplate"
@@ -192,6 +190,11 @@ services:
volumes:
- ./local-data/ceramic/statestore:/root/.ceramic/statestore
- ./.ceramicDev.config.json:/root/.ceramic/daemon.config.json
healthcheck:
test: ["CMD", "curl", "--fail-with-body", "http://localhost:7007/api/v0/node/healthcheck"]
interval: 5s
timeout: 5s
retries: 5
depends_on:
ipfs:
condition: service_healthy
@@ -224,18 +227,32 @@ services:
timeout: 10s
retries: 5

# desci_nodes_backend_test:
# container_name: 'be_test_boilerplate'
# command: echo 'Test container ready'
# build: .
# stdin_open: true
# tty: true
# depends_on:
# - db_postgres
# links:
# - db_postgres
# env_file:
# - .envs
# volumes:
# - .:/app/
# - /app/node_modules
dpid_resolver:
image: ghcr.io/desci-labs/dpid-resolver-dev
container_name: dpid_resolver
build:
# context: https://hub.docker.com/descilabs/dpid-resolver
# Change to local path for local dev
context: ~/dev/desci/dpid-resolver
environment:
DPID_ENV: local
OPTIMISM_RPC_URL: http://host.docker.internal:8545
CERAMIC_URL: http://host.docker.internal:7007
IPFS_GATEWAY: http://host.docker.internal:8089/ipfs
restart: always
ports:
- "5460:5460"
extra_hosts:
- host.docker.internal:host-gateway
healthcheck:
test: ["CMD", "curl", "--fail-with-body", "http://localhost:5460/healthz"]
interval: 5s
timeout: 5s
retries: 5
depends_on:
ipfs:
condition: service_healthy
desci_blockchain_ganache:
condition: service_healthy
ceramic:
condition: service_healthy
2 changes: 0 additions & 2 deletions docker-compose.repo.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
desci_repo:
container_name: "desci_repo"
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
version: "3"

services:
desci_nodes_backend:
container_name: "desci_nodes_backend"
build: .
restart: always
volumes:
- .:/app/
- /app/node_modules
- /app/node_modules