> For the complete documentation index, see [llms.txt](https://nodedocs.saga.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nodedocs.saga.xyz/sagaevm-and-ethproxy-setup/running-a-sagaevm-full-node.md).

# Running a SagaEVM Full Node

You can run SagaEVM as a full node in your own environment. The instructions provided below are for launching a full node using `docker-compose` but they can be adapted for `systemd` service, `docker`, `kubernetes` or your favorite orchestrator.

{% hint style="warning" %}
Please ensure you have `docker` and `docker-compose` installed on your local machine where you wish to launch the SagaEVM full node.
{% endhint %}

{% hint style="danger" %}
SagaEVM currently supports feeless transactions via <https://sagaevm.jsonrpc.sagarpc.io>. We recommend using your local SagaEVM node for **querying purposes only**, and using the feeless transactions RPC for submitting all transactions.
{% endhint %}

1. Copy and paste the following code snippet into a local file on your machine. In this example, we will assume it is `docker-compose.yml`

```docker
version: '3'

services:
  sagaevm-fullnode:
    container_name: sagaevm-fullnode
    image: "sagaxyz/sagaos:0.14.1"
    command: ["./start-fullnode.sh"]
    environment:
      - CHAIN_ID=sagaevm_5464-1
      - DENOM=gas
      - GENESIS_URL=https://saga-public-assets.s3.us-east-1.amazonaws.com/genesis/mainnet/sagaevm_5464-1_genesis.json
      - MONIKER=sagaevmfullnode
      - PEERS=fe0a7c342c3ea6934b89f87a4e5d93ae02792243@195.14.6.50:26014,7b205854267901c355fc1a18908764c118431375@51.81.167.206:17300,054b42595365063100789a218070023bb749c156@66.172.36.135:11156,8abc9ea7ab1db58c26eae9b55344644893f64d49@66.172.36.136:11156,4318a1fafa158df21b98d28bf5ed529f79db57c7@95.216.38.96:11156
      - PRUNING=default # or nothing if you want to run an archive node
      - SYNC_RPC=https://sagaevm-5464-1-cosmosrpc.jsonrpc.spsrv1.sagarpc.io:443,https://sagaevm-5464-1-cosmosrpc.jsonrpc.spsrv2.sagarpc.io:443
    networks:
      localnet:
        ipv4_address: 192.168.0.10
    

networks:
  localnet:
    driver: bridge
    ipam:
      driver: default
      config:
        -
          subnet: 192.168.0.0/16
```

2. After saving the file, run `docker-compose up sagaevm-fullnode`

{% hint style="warning" %}
A list of environment variables, and their values are provided in the code snippet above. These can be used and adapted to launch your local SagaEVM node via `kubernetes` or any other orchestrator.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://nodedocs.saga.xyz/sagaevm-and-ethproxy-setup/running-a-sagaevm-full-node.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
