Skip to content

feat(l2): enviroment variables option for "l2 init" command#2488

Merged
mationorato merged 1 commit into
mainfrom
feat/l2-env
Apr 16, 2025
Merged

feat(l2): enviroment variables option for "l2 init" command#2488
mationorato merged 1 commit into
mainfrom
feat/l2-env

Conversation

@mationorato

Copy link
Copy Markdown
Contributor

Motivation

devops

Description

add the following enviroment variables to customize the l2 init command. Specially useful for systemd or docker services

ETHREX_NETWORK
ETHREX_DATADIR
ETHREX_METRICS_PORT
ETHREX_EVM
ETHREX_HTTP_ADDR
ETHREX_HTTP_PORT

@mationorato mationorato requested a review from a team as a code owner April 16, 2025 19:29
@github-actions

Copy link
Copy Markdown

Lines of code report

Total lines added: 11
Total lines removed: 0
Total lines changed: 11

Detailed view
+--------------------------+-------+------+
| File                     | Lines | Diff |
+--------------------------+-------+------+
| ethrex/cmd/ethrex/cli.rs | 302   | +11  |
+--------------------------+-------+------+

@mationorato mationorato enabled auto-merge April 16, 2025 19:48
@mationorato mationorato changed the title Enviroment variables option for "l2 init" command feat: Enviroment variables option for "l2 init" command Apr 16, 2025
@mationorato mationorato changed the title feat: Enviroment variables option for "l2 init" command feat(l2): Enviroment variables option for "l2 init" command Apr 16, 2025
@mationorato mationorato changed the title feat(l2): Enviroment variables option for "l2 init" command feat(l2): enviroment variables option for "l2 init" command Apr 16, 2025
@mationorato mationorato added this pull request to the merge queue Apr 16, 2025
Merged via the queue into main with commit 717e3ff Apr 16, 2025
@mationorato mationorato deleted the feat/l2-env branch April 16, 2025 21:09
pedrobergamini pushed a commit to pedrobergamini/ethrex that referenced this pull request Aug 24, 2025
…ass#2488)

**Motivation**

devops

**Description**

add the following enviroment variables to customize the l2 init command.
Specially useful for systemd or docker services

```
ETHREX_NETWORK
ETHREX_DATADIR
ETHREX_METRICS_PORT
ETHREX_EVM
ETHREX_HTTP_ADDR
ETHREX_HTTP_PORT
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants