# Docker

docker startup will automatically init and run

### storage node

```docker
services:
  dimo-store:
    image: mossv2/dimo:store-latest
    ports:
      - 8080:8080
    volumes:
      - /home/ubuntu/data/hub:/data
      - /home/ubuntu/.plonk:/root/.plonk
    restart: on-failure:0
    environment:
      CHAIN_TYPE: ""  # opbnb-testnet or op-sepolia
      MAX_SIZE: "100GB" # max storage 
networks:
  default:
    driver: bridge
```

### stream

```docker
services:
  dimo-stream:
    image: mossv2/dimo:stream-latest
    ports:
      - 8080:8080
    volumes:
      - /home/ubuntu/data/stream:/data
      - /home/ubuntu/.plonk:/root/.plonk
    restart: on-failure:0
    environment:
      CHAIN_TYPE: ""  # opbnb-testnet or op-sepolia
      EXPOSE_URL: ""  # required
networks:
  default:
    driver: bridge
```

### validator

```docker
services:
  dimo-validator:
    image: mossv2/dimo:validator-latest
    ports:
      - 8080:8080
    volumes:
      - /home/ubuntu/data/validator:/data
      - /home/ubuntu/.plonk:/root/.plonk
    restart: on-failure:0
    environment:
      CHAIN_TYPE: ""  # opbnb-testnet or op-sepolia
networks:
  default:
    driver: bridge
```

### hub

```docker
services:
  dimo-hub:
    image: mossv2/dimo:hub-latest
    ports:
      - 8080:8080
    volumes:
      - /home/ubuntu/data/hub:/data
    restart: on-failure:0
    environment:
      CHAIN_TYPE: "" # opbnb-testnet or op-sepolia
      EXPOSE_URL: "" # required
      MAX_SIZE: "4MB" # file max size 
networks:
  default:
    driver: bridge
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unibaseio.gitbook.io/unibase-docs/unibase-da/nodes-bootstrap/docker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
