Skip to content

Commit

Permalink
chore: add docker env allow list for nakama (#35)
Browse files Browse the repository at this point in the history
Closes: WORLD-726

## What is the purpose of the change

Enable nakama's beta key feature through world.tom

## Testing and Verifying

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit

- **Refactor**
	- Updated the configuration to include support for a new environment variable.
	- Confidential changes made to enhance functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
zulkhair committed Feb 12, 2024
1 parent 4a0ac1e commit 44100bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion common/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var (
// Items under these toml headers will be included in the environment variables when
// running docker. An error will be generated if a duplicate key is found across
// these sections.
dockerEnvHeaders = []string{"cardinal", "evm"}
dockerEnvHeaders = []string{"cardinal", "evm", "nakama"}
)

type Config struct {
Expand Down
3 changes: 3 additions & 0 deletions example-world.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ CHAIN_ID="world-engine"
KEY_MNEMONIC="enact adjust liberty squirrel bulk ticket invest tissue antique window thank slam unknown fury script among bread social switch glide wool clog flag enroll"
FAUCET_ADDR="world142fg37yzx04cslgeflezzh83wa4xlmjpms0sg5"
BLOCK_TIME="1s"

[nakama]
ENABLE_ALLOWLIST="false" # enable nakama's beta key feature. you can generate and claim beta keys by setting this to true

0 comments on commit 44100bc

Please sign in to comment.