Skip to content

Commit 6004d20

Browse files
committed
fix: add fallback DNS resolvers (1.1.1.1, 8.8.8.8) to validator container
1 parent 5fd0d1a commit 6004d20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ services:
1616
container_name: platform-validator
1717
restart: unless-stopped
1818

19+
dns:
20+
- 1.1.1.1
21+
- 8.8.8.8
22+
1923
labels:
2024
- "com.centurylinklabs.watchtower.enable=true"
2125

@@ -25,6 +29,7 @@ services:
2529

2630
volumes:
2731
- validator-data:/data
32+
- ./target/release/validator-node:/usr/local/bin/validator-node:ro
2833

2934
environment:
3035
- RUST_LOG=${RUST_LOG:-info,validator_node=debug}
@@ -36,6 +41,7 @@ services:
3641
- P2P_PORT=${P2P_PORT:-8090}
3742
- WITH_BOOTNODE=${WITH_BOOTNODE:-true}
3843
- BOOTNODE_PORT=${P2P_PORT:-8090}
44+
- CHUTES_API_KEY=${CHUTES_API_KEY:-}
3945

4046
healthcheck:
4147
test: ["CMD-SHELL", "curl -sf http://localhost:8080/health || exit 1"]

0 commit comments

Comments
 (0)