From ac3028a5f9a4d6b10bdccd897a0ce346f084e845 Mon Sep 17 00:00:00 2001 From: maxpower-01 Date: Sat, 28 Dec 2024 13:19:33 +0100 Subject: [PATCH 1/6] fix: enable communication between webserver and the TENDERMINT_URL Added the <<: *defaults configuration to the webserver container in docker-compose.yml. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 935e13e3..2663f43e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -84,6 +84,7 @@ services: PACKAGE: transactions webserver: + <<: *defaults image: namada/webserver-indexer build: context: . From 42a31fc1ea489aad8f313a91e592703163df0f2f Mon Sep 17 00:00:00 2001 From: maxpower-01 Date: Sun, 29 Dec 2024 20:58:32 +0100 Subject: [PATCH 2/6] refactor: update Docker image names to follow new naming convention This PR updates the Docker image names in the `docker-compose.yml` file to follow the new naming convention. The changes aim to improve clarity and consistency --- docker-compose.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2663f43e..90b6c036 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ include: services: chain: <<: *defaults - image: namada/chain-indexer + image: namada-indexer/chain command: "./service \ --tendermint-url ${TENDERMINT_URL} \ --database-url ${DATABASE_URL} \ @@ -40,7 +40,7 @@ services: governance: <<: *defaults - image: namada/governance-indexer + image: namada-indexer/governance build: <<: *build args: @@ -49,7 +49,7 @@ services: pos: <<: *defaults - image: namada/pos-indexer + image: namada-indexer/pos build: <<: *build args: @@ -58,7 +58,7 @@ services: rewards: <<: *defaults - image: namada/rewards-indexer + image: namada-indexer/rewards build: <<: *build args: @@ -67,7 +67,7 @@ services: parameters: <<: *defaults - image: namada/parameters-indexer + image: namada-indexer/parameters build: <<: *build args: @@ -76,7 +76,7 @@ services: transactions: <<: *defaults - image: namada/transaction-indexer + image: namada-indexer/transaction build: <<: *build args: @@ -85,7 +85,7 @@ services: webserver: <<: *defaults - image: namada/webserver-indexer + image: namada-indexer/webserver build: context: . dockerfile: Dockerfile From 3df337b3d02c2e50d590b0b205bb6f4febb996d5 Mon Sep 17 00:00:00 2001 From: maxpower-01 Date: Wed, 1 Jan 2025 13:54:25 +0100 Subject: [PATCH 3/6] docs: update README with generic repository cloning instructions --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3698684e..35a4b84b 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,9 @@ apt-get install -y curl apt-transport-https ca-certificates software-properties- Ensure you have the latest repository cloned to maintain compatibility with other Namada interfaces. Use the following commands to clone the repository and navigate into its directory. ```sh -git clone https://github.com/anoma/namada-indexer.git -cd namada-indexer +# Clone this repository, copy the URL from the Code button above and use. +git clone +cd ``` Create the `.env` file in the root of the project. You can use the `.env.sample` file as a reference. From 27a015ad0aea4cf4dbb906072dc1842c8311d926 Mon Sep 17 00:00:00 2001 From: maxpower-01 Date: Wed, 1 Jan 2025 13:56:58 +0100 Subject: [PATCH 4/6] docs: update README with generic repository cloning instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 35a4b84b..358d59fe 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ apt-get install -y curl apt-transport-https ca-certificates software-properties- Ensure you have the latest repository cloned to maintain compatibility with other Namada interfaces. Use the following commands to clone the repository and navigate into its directory. ```sh -# Clone this repository, copy the URL from the Code button above and use. +# Clone this repository, copy the URL from the Code button above. git clone cd ``` From 87cb017759db2c895a8e20c5507fd8e5884ed380 Mon Sep 17 00:00:00 2001 From: maxpower-01 <148493471+maxpower-01@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:04:25 +0100 Subject: [PATCH 5/6] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 358d59fe..8948303a 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ Follow these instructions to set up the project locally. The steps below will gu It is strongly recommended to change the default username and password for your PostgreSQL database for security purposes. Update these credentials in both the `.env` file and the `docker-compose.yml` file to reflect the changes. -## 🐳 Installation with Docker +## 🐳 Docker Deployment ### Prerequisites @@ -108,7 +108,7 @@ just docker-up just docker-up-d ``` -## Installation without Docker +## 🖥️ Self-Hosted Deployment If you prefer not to use Docker, you can follow the instructions below to set up and run the services manually. @@ -137,4 +137,4 @@ After populating the database, you can run the webserver to access the data via ```sh apt-get install -y postgresql-client -``` \ No newline at end of file +``` From 4953be254db72526fa3e16fae50a5d0f753ea469 Mon Sep 17 00:00:00 2001 From: maxpower-01 Date: Sat, 25 Jan 2025 17:08:57 +0100 Subject: [PATCH 6/6] Revert "refactor: update Docker image names to follow new naming convention" This reverts commit 42a31fc1ea489aad8f313a91e592703163df0f2f. --- docker-compose.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 90b6c036..2663f43e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ include: services: chain: <<: *defaults - image: namada-indexer/chain + image: namada/chain-indexer command: "./service \ --tendermint-url ${TENDERMINT_URL} \ --database-url ${DATABASE_URL} \ @@ -40,7 +40,7 @@ services: governance: <<: *defaults - image: namada-indexer/governance + image: namada/governance-indexer build: <<: *build args: @@ -49,7 +49,7 @@ services: pos: <<: *defaults - image: namada-indexer/pos + image: namada/pos-indexer build: <<: *build args: @@ -58,7 +58,7 @@ services: rewards: <<: *defaults - image: namada-indexer/rewards + image: namada/rewards-indexer build: <<: *build args: @@ -67,7 +67,7 @@ services: parameters: <<: *defaults - image: namada-indexer/parameters + image: namada/parameters-indexer build: <<: *build args: @@ -76,7 +76,7 @@ services: transactions: <<: *defaults - image: namada-indexer/transaction + image: namada/transaction-indexer build: <<: *build args: @@ -85,7 +85,7 @@ services: webserver: <<: *defaults - image: namada-indexer/webserver + image: namada/webserver-indexer build: context: . dockerfile: Dockerfile