The `message-relayer` can be included as part of the [local Optimism development environment](https://community.optimism.io/docs/developers/build/dev-node/).
Although the `message-relayer` is not turned on by default, it can be enabled by [changing this line in docker-compose.yml](https://github.com/ethereum-optimism/optimism/blob/51a527b8e3fe69940fb8c0f5e4aa2e0ae8ee294c/ops/docker-compose.yml#L129) to:
constmain=async()=>{
constl1RpcProviderUrl='https://layer1.endpoint'
constl2RpcProviderUrl='https://layer2.endpoint'
constl1StateCommitmentChainAddress='address of StateCommitmentChain from deployments page'
constl2CrossDomainMessengerAddress='address of L2CrossDomainMessenger from deployments page'
constl2TransactionHash='hash of the transaction with messages to relay'