Skip to content

Commit

Permalink
Update compose files and readme (#59)
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel-Trintinalia <[email protected]>
  • Loading branch information
Gabriel-Trintinalia authored Aug 23, 2024
1 parent f766170 commit 2bd0ad6
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 38 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,15 @@ pattern `'v[0-9]+.[0-9]+.[0-9]+`. (e.g., `v1.0.0`, `v2.1.3`)
To run a node with a specific profile, set the `BESU_PROFILE` environment variable to the desired profile name:

```sh
docker run -e BESU_PROFILE=follower-mainnet consensys/linea-besu-package:0.0.1
docker run -e BESU_PROFILE=follower-mainnet consensys/linea-besu-package:latest
```

You can also start with the Docker Compose files located in the [docker-compose](https://github.com/Consensys/linea-besu-package/tree/main/docker) directory.

```sh
docker compose -f ./docker/docker-compose-follower-mainnet.yaml up
```

The build process will incorporate all the TOML files located in the
[linea-besu/profiles](https://github.com/Consensys/linea-besu-package/tree/main/linea-besu/profiles)
directory into the package. These profiles are essential for configuring the node, as each one specifies the necessary
Expand All @@ -44,7 +51,6 @@ plugins and CLI options to ensure Besu operates correctly. Currently, the follo
| `tracer-mainnet` | Creates a tracer node on the Linea mainnet. | Pending Configuration |
| `tracer-sepolia` | Creates a tracer node on the Linea Sepolia testnet. | Pending Configuration |

### Running a Node

## Update the Build Configuration

Expand Down
9 changes: 0 additions & 9 deletions docker/docker-compose-continuous-tracer .yaml

This file was deleted.

9 changes: 9 additions & 0 deletions docker/docker-compose-follower-mainnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'
services:
linea-besu-follower-mainnet-node:
image: consensys/linea-besu-package:latest
command: --profile=follower-mainnet
ports:
- 30303:30303
- 8545:8545
- 8546:8546
9 changes: 9 additions & 0 deletions docker/docker-compose-sequencer-mainnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'
services:
linea-besu-sequencer-mainnet-node:
image: consensys/linea-besu-package:latest
command: --profile=sequencer-mainnet
ports:
- 30303:30303
- 8545:8545
- 8546:8546
9 changes: 0 additions & 9 deletions docker/docker-compose-sequencer.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions docker/docker-compose-shomei-mainnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'
services:
linea-besu-shoimei-mainnet-node:
image: consensys/linea-besu-package:latest
command: --profile=shomei-mainnet
ports:
- 30303:30303
- 8545:8545
- 8546:8546
9 changes: 0 additions & 9 deletions docker/docker-compose-shomei.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions docker/docker-compose-tracer-mainnet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'
services:
linea-besu-tracer-mainnet-node:
image: consensys/linea-besu-package:latest
command: --profile=tracer-mainnet
ports:
- 30303:30303
- 8545:8545
- 8546:8546
9 changes: 0 additions & 9 deletions docker/docker-compose-tracer.yaml

This file was deleted.

0 comments on commit 2bd0ad6

Please sign in to comment.