Skip to content

Commit

Permalink
Merge branch 'fraccaman/update-readme'
Browse files Browse the repository at this point in the history
* fraccaman/update-readme:
  update readme
  • Loading branch information
Fraccaman committed Sep 23, 2024
2 parents 2aaf979 + 8ac0b2b commit f50f7b5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
COMETBFT_URL=""
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ quickly, alleviating remote procedure calls to full nodes.

⚠️ This project is still a work-in-progress, use at your own risk! ⚠️

## How to run

- Copy the `.env.template` to `.env` file and edit the necessary variables.
- Run `docker compose up`

## License

This project is licensed under the GNU General Public License v3.0. You can
Expand Down
19 changes: 16 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,21 @@ services:
timeout: 10s
retries: 5
start_period: 80s


block-index:
image: namada-masp-block-index
build:
context: .
dockerfile: block-index/Dockerfile
environment:
COMETBFT_URL: ${COMETBFT_URL}
DATABASE_URL: postgres://postgres:password@postgres:5432/masp_indexer_local
depends_on:
postgres:
condition: service_healthy
extra_hosts:
- "host.docker.internal:host-gateway"

webserver:
image: namada-masp-webserver
build:
Expand All @@ -34,8 +48,7 @@ services:
context: .
dockerfile: chain/Dockerfile
environment:
COMETBFT_URL: <>
CHAIN_ID: <>
COMETBFT_URL: ${COMETBFT_URL}
DATABASE_URL: postgres://postgres:password@postgres:5432/masp_indexer_local
depends_on:
postgres:
Expand Down

0 comments on commit f50f7b5

Please sign in to comment.