Skip to content

Commit

Permalink
Disable debugAPI by default in Docker network and instead only enable…
Browse files Browse the repository at this point in the history
… on node-1-validator
  • Loading branch information
jonastheis committed Mar 26, 2024
1 parent 3eb975b commit 040a1eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/docker-network/.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COMMON_CONFIG="
--db.path=/app/data/database
--protocol.snapshot.path=/app/data/snapshot.bin
--restAPI.publicRoutes=/health,/api/routes,/api/core/v3/info,/api/core/v3/network*,/api/core/v3/blocks*,/api/core/v3/transactions*,/api/core/v3/commitments*,/api/core/v3/outputs*,/api/core/v3/accounts*,/api/core/v3/validators*,/api/core/v3/rewards*,/api/core/v3/committee*,/api/debug/v2/*,/api/indexer/v2/*,/api/mqtt/v2,/api/blockissuer/v1/*,/api/management/v1/*
--debugAPI.enabled=true
--debugAPI.enabled=false
"

AUTOPEERING_CONFIG="
Expand Down
1 change: 1 addition & 0 deletions tools/docker-network/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ services:
--inx.bindAddress=0.0.0.0:9029
--prometheus.goMetrics=true
--prometheus.processMetrics=true
--debugAPI.enabled=true
node-2-validator:
image: docker-network-node-1-validator:latest
Expand Down

0 comments on commit 040a1eb

Please sign in to comment.