diff --git a/README.md b/README.md index 3698684e..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 @@ -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. +git clone +cd ``` Create the `.env` file in the root of the project. You can use the `.env.sample` file as a reference. @@ -107,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. @@ -136,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 +``` 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: .