Skip to content

Commit 1fead0e

Browse files
committed
Add VALIDATOR_NAME to distinguish challenge containers
- Server creates: challenge-{name}-server - Validator creates: challenge-{name}-validator This prevents confusion when both run on the same machine.
1 parent c03ca30 commit 1fead0e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docker-compose.server.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ services:
2828
environment:
2929
- DATABASE_URL=${DATABASE_URL}
3030
- RUST_LOG=info,platform_server=debug
31+
- VALIDATOR_NAME=server
3132
dns:
3233
- 8.8.8.8
3334
- 1.1.1.1

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ services:
2424
- RUST_LOG=info,platform_chain=debug
2525
- DATA_DIR=/data
2626
- VALIDATOR_SECRET_KEY=${VALIDATOR_SECRET_KEY}
27+
- VALIDATOR_NAME=validator
2728

2829
# Bootstrap peer is hardcoded in the binary (bootnode.platform.network)
2930
# Override with: --bootstrap /dns4/other-node/tcp/9000/p2p/<PEER_ID>

0 commit comments

Comments
 (0)