Files
hub-monorepo/docker-compose-multinode.yml
Sanjay cd0ddd6d24 feat: Support ENS names in the hub (#1101)
* feat: Add ENS username proof support

* Add UserNameProof store

* ENS name ownership validations

* Add remaining ens validations

* Generate events correctly

* Allow setting ens names on UserData and handle revoking it

* Add changeset and cli flag
2023-07-10 23:40:50 -07:00

81 lines
1.8 KiB
YAML

# To start two peered hubs locally, run:
#
# `docker compose -f docker-compose-multinode.yml run yarn --cwd=apps/hubble identity create -N 2`
#
# Set $TEST_HUB1_ID and $TEST_HUB2_ID in your .env file to the paths generated by the previous command. Then run:
#
# `docker compose -f docker-compose-multinode.yml up`
#
# This is useful when testing protocol changes locally.
version: '3.9'
services:
hubble1:
build:
context: .
dockerfile: Dockerfile.hubble
ports:
- '2282:2282'
- '2283:2283'
command:
[
"node",
"build/cli.js",
"start",
"--gossip-port",
"2282",
"--rpc-port",
"2283",
"--eth-rpc-url",
"$ETH_RPC_URL",
"--eth-mainnet-rpc-url",
"$ETH_MAINNET_RPC_URL",
"--network",
"3",
"--db-name",
"hubble1",
"--process-file-prefix",
"hubble1",
"--id",
"$TEST_HUB1_ID",
"--gossip-metrics-enabled"
]
volumes:
- ./apps/hubble/.hub:/home/node/app/apps/hubble/.hub
- ./apps/hubble/.rocks:/home/node/app/apps/hubble/.rocks
hubble2:
build:
context: .
dockerfile: Dockerfile.hubble
ports:
- '2284:2284'
- '2285:2285'
command:
[
"node",
"build/cli.js",
"start",
"--gossip-port",
"2284",
"--rpc-port",
"2285",
"--eth-rpc-url",
"$ETH_RPC_URL",
"--eth-mainnet-rpc-url",
"$ETH_MAINNET_RPC_URL",
"--network",
"3",
"-b",
"/dns/hubble1/tcp/2282",
"--db-name",
"hubble2",
"--process-file-prefix",
"hubble2",
"--id",
"$TEST_HUB2_ID"
]
volumes:
- ./apps/hubble/.hub:/home/node/app/apps/hubble/.hub
- ./apps/hubble/.rocks:/home/node/app/apps/hubble/.rocks