---
title: "Deployment"
description: "Run base-reth-node in production via the official Docker image or a custom source build."
source: https://basehub.org/node-operations/deployment/
---
import { Aside } from '@astrojs/starlight/components';

<Aside type="danger">
Operator releases have moved to [base/base](https://github.com/base/base/releases). Starting at **v1.3.0**, the operator node ships from that repository, and every later release lands there.

`base/node` **becomes read-only on September 4, 2026**. After that date it accepts no issues, no pull requests, and no releases, and it stays online only as a record of the pre-v1.3.0 tags. Point any new install or upgrade at `base/base`.
</Aside>

## Production Images

Production runs are best served by the published Docker image, which is built from [base/base](https://github.com/base/base):

```bash
docker pull ghcr.io/base/node-reth:latest
```

This image bundles both vanilla Reth and Base Reth and can be toggled with the `NODE_TYPE` environment variable:

```bash
# Run Base Reth
docker run ghcr.io/base/node-reth -e NODE_TYPE=base

# Run vanilla Reth
docker run ghcr.io/base/node-reth -e NODE_TYPE=vanilla
```

## Pinning a Release with `NODE_TAG`

The root `docker-compose.yml` in `base/base` pulls `ghcr.io/base/node:latest` unless you say otherwise. To run one specific published release without compiling anything, name its tag:

```bash
NODE_TAG=v1.3.0 docker compose up
```

A pinned tag bypasses the source build completely, so the node starts once the pull finishes. Leave `--build` off when you pin. Passing it triggers a local compile that takes precedence over the tag you asked for.

Note that `v1.3.0` is the earliest release published to `ghcr.io/base/node` out of `base/base`. Tags older than that were never pushed to this image path, so they are not reachable by pin.

### Compose Variables

A handful of variables let you retune the compose file from your shell or a `.env` file, so you never have to edit the file itself:

| Variable | Default | Purpose |
|----------|---------|---------|
| `NODE_TAG` | `latest` | Tag pulled from `ghcr.io/base/node`. Give it a release tag such as `v1.3.0` to pin. |
| `NETWORK_ENV` | `.env.mainnet` | Env file loaded by the `execution` and `node` services. Use `.env.sepolia` for testnet. |
| `HOST_DATA_DIR` | `./reth-data` | Host directory bind-mounted to `/data` in the execution container. Repoint it at an external volume if you need to. |
| `PROFILE` | `release` | Cargo profile applied when you pass `--build`. It matches the profile behind the published image. |

Running `docker compose up --build` compiles whatever is in your `base/base` checkout through the `base` target of `etc/docker/Dockerfile.rust-services`. That is the same target the published `ghcr.io/base/node` image comes from, so a local build and a pinned image lay out their binaries identically.

## Building from Source for Deployment

If you need a custom build:

```bash
# Standard release build
just build release
```

A local `--build` compiles with `release`, which sets `opt-level = 3`, `lto = "thin"`, `codegen-units = 16`, and strips symbols. Note that this is not the profile behind the image you pull. Base bakes its published images with `maxperf`, which adds fat LTO and one codegen unit on top of `release`. Expect a locally built node to behave the same and to benchmark a little slower.

If you need to profile a deployed binary, build the `release-symbols` variant instead. It keeps `release` codegen untouched and only restores the symbol table:

```bash
cargo build --profile release-symbols --package base-reth-node --bin base-reth-node
```

A `release` build leaves the binary at `target/release/base-reth-node`. See [Configuration](/node-operations/configuration/#build-profiles) for the full profile table.

## Hardware Requirements

Base Reth Node requires:

- **CPU:** Multi-core processor (4+ cores recommended)
- **Memory:** 16 GB+ RAM
- **Storage:** NVMe SSD with sufficient space for chain state
- **Network:** Stable, high-bandwidth connection

## Configuration

See the [Configuration Reference](/node-operations/configuration/) for all available options, or run:

```bash
./target/release/base-reth-node --help
```
