Skip to content

Commit

Permalink
docs: add nakama and evm docker image version on world.toml explanati…
Browse files Browse the repository at this point in the history
…on (#813)
  • Loading branch information
zulkhair authored Dec 4, 2024
1 parent c43e0ca commit 87afddf
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/cardinal/game/configuration/evm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ DA_NAMESPACE_ID = "defaultnamespace"
FAUCET_ADDRESS = "faucet_address"
FAUCET_AMOUNT = "0x56BC75E2D6310000" # 100 ETH
FAUCET_ENABLED = false
EVM_IMAGE="ghcr.io/argus-labs/world-engine-evm:latest"
EVM_IMAGE_PLATFORM="linux/amd64"
```

### CHAIN_ID
Expand Down Expand Up @@ -87,4 +89,25 @@ Enables or disables the faucet feature, which automatically distributes tokens t
**Example**
```
FAUCET_ENABLED = false
```

### EVM_IMAGE

Specifies EVM docker image. This will only work on world cli v1.3.3 above.
- For Cardinal v1.7.1 and later, the EVM image must be `v1.5.1` or later.
- For Cardinal v1.6.x and earlier, the EVM image must be `v1.4.1` or earlier.

**Example**
```
EVM_IMAGE = "ghcr.io/argus-labs/world-engine-evm:1.5.1"
```

### EVM_IMAGE_PLATFORM

Specifies the platform architecture for the EVM Docker image. The default value will match the operating system platform. this will only work on world cli v1.3.3 above.
For more details, you can visit this <a href='https://docs.docker.com/build/building/multi-platform/' target='_blank'>link</a>

**Example**
```
EVM_IMAGE_PLATFORM = "linux/amd64"
```
23 changes: 23 additions & 0 deletions docs/cardinal/game/configuration/nakama.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ NAKAMA_TRACE_ENABLED = true
NAKAMA_METRICS_ENABLED = true
NAKAMA_TRACE_SAMPLE_RATE = 0.6
NAKAMA_METRICS_INTERVAL = 30
NAKAMA_IMAGE = "ghcr.io/argus-labs/world-engine-nakama:latest"
NAKAMA_IMAGE_PLATFORM = "linux/amd64"
```

### ENABLE_ALLOWLIST
Expand Down Expand Up @@ -65,4 +67,25 @@ Prometheus scraping interval in seconds.
**Example**
```
NAKAMA_METRICS_INTERVAL = 30
```

### NAKAMA_IMAGE

Specifies Nakama Docker image. this will only work on world cli v1.3.3 above.
- For Cardinal v1.7.1 and later, the Nakama image must be `v1.4.0` or later.
- For Cardinal v1.6.x and earlier, the Nakama image must be `v1.2.9` or earlier.

**Example**
```
NAKAMA_IMAGE = "ghcr.io/argus-labs/world-engine-nakama:1.4.0"
```

### NAKAMA_IMAGE_PLATFORM

Specifies the platform architecture for the Nakama Docker image. The default value will match the operating system platform. this will only work on world cli v1.3.3 above.
For more details, you can visit this <a href='https://docs.docker.com/build/building/multi-platform/' target='_blank'>link</a>

**Example**
```
NAKAMA_IMAGE_PLATFORM = "linux/arm64"
```

0 comments on commit 87afddf

Please sign in to comment.