autonomys / astral

Home of our Block Explorer
https://explorer.subspace.network
11 stars 9 forks source link

Fix ports collision #946

Closed marc-aurele-besner closed 17 hours ago

marc-aurele-besner commented 1 day ago

User description

Fix ports collision


PR Type

Bug fix, Enhancement


Description


Changes walkthrough ๐Ÿ“

Relevant files
Enhancement
project.ts
Remove dictionary field from consensus project configuration

indexers/mainnet/consensus/project.ts - Removed the `dictionary` field from the project configuration.
+0/-1     
project.ts
Remove dictionary field from Taurus project configuration

indexers/taurus/consensus/project.ts - Removed the `dictionary` field from the project configuration.
+0/-1     
Configuration changes
.env
Update dictionary port and URL in environment configuration

.env
  • Updated DICTIONARY_SUBQUERY_NODE_PORT to 3000.
  • Changed DICTIONARY_URL to use localhost.
  • +3/-3     
    Bug fix
    docker-compose.yml
    Fix port collisions and update subquery node configurations

    docker-compose.yml
  • Adjusted port mappings for subquery nodes to avoid collisions.
  • Removed dictionary dependency from subquery node configurations.
  • Updated healthcheck URLs to match new port configurations.
  • +11/-11 

    ๐Ÿ’ก PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

    netlify[bot] commented 1 day ago

    Deploy Preview for dev-astral canceled.

    Name Link
    Latest commit 10ae5aee7535e5c70835724becb977c3afef8add
    Latest deploy log https://app.netlify.com/sites/dev-astral/deploys/6735d3807f29d60008172914
    github-actions[bot] commented 1 day ago

    PR Reviewer Guide ๐Ÿ”

    Here are some key observations to aid the review process:

    โฑ๏ธ Estimated effort to review: 3 ๐Ÿ”ต๐Ÿ”ต๐Ÿ”ตโšชโšช
    ๐Ÿงช No relevant tests
    ๐Ÿ”’ No security concerns identified
    โšก Recommended focus areas for review

    Port Configuration
    Ensure that the port configurations in the docker-compose.yml do not cause conflicts or are not already in use on the host system. Environment Variables
    Verify the changes to environment variables, especially the DICTIONARY_URL and DICTIONARY_SUBQUERY_NODE_PORT, to ensure they align with network and security policies.
    github-actions[bot] commented 1 day ago

    PR Code Suggestions โœจ

    No code suggestions found for the PR.