mirror of
https://github.com/bitvora/wot-relay.git
synced 2025-04-19 18:21:18 +00:00
Update README.md
This commit is contained in:
parent
3877f9456c
commit
aea9956bc0
15
README.md
15
README.md
@ -91,13 +91,23 @@ sudo systemctl start wot-relay
|
||||
sudo systemctl enable wot-relay
|
||||
```
|
||||
|
||||
### 6. Start the Project with Docker Compose (optional)
|
||||
### 6. Start the Project with Docker Compose
|
||||
|
||||
To start the project using Docker Compose, follow these steps:
|
||||
|
||||
1. Ensure Docker and Docker Compose are installed on your system.
|
||||
2. Navigate to the project directory.
|
||||
3. Run the following command:
|
||||
3. Edit the `docker-compose.yml` file to update the environment variables as needed:
|
||||
|
||||
```yaml
|
||||
environment:
|
||||
RELAY_NAME: "utxo WoT relay"
|
||||
RELAY_PUBKEY: "YOURPUBKEY"
|
||||
RELAY_DESCRIPTION: "Only notes in utxo WoT"
|
||||
DB_PATH: "./db"
|
||||
```
|
||||
|
||||
4. Run the following command:
|
||||
|
||||
```sh
|
||||
docker-compose up --build
|
||||
@ -105,6 +115,7 @@ To start the project using Docker Compose, follow these steps:
|
||||
|
||||
This will build the Docker image and start the `wot-relay` service as defined in the `docker-compose.yml` file. The application will be accessible on port 3334.
|
||||
|
||||
|
||||
### 7. Access the relay
|
||||
|
||||
Once everything is set up, the relay will be running on `localhost:3334`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user