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

Update x app template #23

Merged
merged 9 commits into from
Sep 6, 2024
Merged

Update x app template #23

merged 9 commits into from
Sep 6, 2024

Conversation

Valazan
Copy link
Collaborator

@Valazan Valazan commented Sep 5, 2024

Update X-APP-TEMPLATE

Changes Introduced

  1. Removal of reCAPTCHA:

    • reCAPTCHA has been removed from the project as it is not within the project's scope.
  2. Fixing Thor Solo Startup Issue:

    • Resolved the issue where Thor Solo was not starting as expected.
  3. Fixing Missing GPT Version:

    • Added GPT 4o version to ensure correct functionality.
  4. Deployment Script Improvements:

    • Enhanced the deployment script to automatically initiate the first cycle of rewards, enabling immediate use of the contract.
  5. README Update:

    • Updated the README file with a quick guide on how to run the project locally.

@Valazan Valazan requested a review from a team as a code owner September 5, 2024 15:00
Copy link
Member

@akanoce akanoce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bravo, left a small comment for adding insight and inspector in the docker-compose

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add inspector and insight here as well

services:
  thor-solo:
    image: vechain/thor:v2.1.3
    hostname: thor-solo
    container_name: thor-solo
    user: root
    environment:
      - DOCKER=1
    entrypoint:
      [
        "/bin/sh",
        "-c",
        "apk update && apk upgrade && apk add curl && thor solo --on-demand --persist --data-dir /data/thor --api-addr 0.0.0.0:8669 --api-cors '*' --verbosity 3",
      ]
    ports:
      - "8669:8669"
    healthcheck:
      test: curl --fail 0.0.0.0:8669/blocks/0 || exit 1
      interval: "2s"
      retries: 30
    volumes:
      - thor-data:/data/thor
    networks:
      - vechain-thor

  insight:
    image: ghcr.io/vechain/insight-app:master
    hostname: insight
    container_name: insight
    environment:
      - VUE_APP_SOLO_URL=http://localhost:8669
    ports:
      - "8080:80"
    networks:
      - vechain-thor

  inspector:
    image: ghcr.io/vechain/inspector-app:master
    hostname: inspector
    container_name: inspector
    environment:
      - VUE_APP_SOLO_URL=http://localhost:8669
    ports:
      - "8081:80"
    networks:
      - vechain-thor

networks:
  vechain-thor:
    driver: bridge
    name: vechain-thor
volumes:
  thor-data:
    driver: local
    name: thor-data

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@Valazan Valazan merged commit 2fc743c into main Sep 6, 2024
3 checks passed
@pierobassa pierobassa deleted the update-x-app-template branch September 12, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants