Skip to content

Commit

Permalink
docs: add comment for a3p service in Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Dec 26, 2024
1 parent e06926e commit 0a174c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,12 @@ The fastest way to get support is by [searching our documentation](https://acade

If you encounter issues with the indexer:

- Check the logs for any errors or warnings that might indicate what is wrong. Use the command:
- Check the logs of indexer for any errors or warnings that might indicate what is wrong. Use the command:

```sh
docker logs <container_id>
docker logs -f agoric-subql-subquery-node-1
```

Replace <container_id> with the actual ID of your Docker container involved in indexing.

- If restarting the indexer is necessary, first delete the `.data` folder in the root directory to avoid conflicts or corruption of data:

```sh
Expand Down
7 changes: 7 additions & 0 deletions project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ const networkConfig = {
chaintypes: chainTypesU18,
startBlock: 1,
},
/*
This configuration is specifically for the "ci" profile for the agd container.
The reason for using the "ci" profile is because the URL http://host.docker.internal:26657
is not accessible in CI environments. Therefore, we added the a3p service to the Docker
Compose file and assigned it a "ci" profile to ensure it only runs in CI. In the CI environment,
we then use the address http://agd:26657
*/
ci: {
chainId: 'agoriclocal',
endpoint: ['http://a3p:26657'],
Expand Down

0 comments on commit 0a174c0

Please sign in to comment.