Skip to content

Commit

Permalink
[docker][compose] use static IP rather than DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
rustielin authored and aptos-bot committed Apr 28, 2022
1 parent 632058a commit 9aca522
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/compose/validator-testnet/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
image: "${VALIDATOR_IMAGE_REPO:-aptoslab/validator}:${IMAGE_TAG:-devnet}"
networks:
shared:
ipv4_address: 172.16.1.10
volumes:
- type: volume
source: aptos-shared
Expand All @@ -48,6 +49,7 @@ services:
- validator
networks:
shared:
ipv4_address: 172.16.1.11
volumes:
- type: volume
source: aptos-shared
Expand All @@ -65,7 +67,7 @@ services:
--port 8000 \\
--chain-id TESTING \\
--mint-key-file-path /opt/aptos/var/mint.key \\
--server-url http://validator:8080
--server-url http://172.16.1.10:8080
echo 'Faucet failed to run likely due to the Validator still starting. Will try again.'
fi
done
Expand Down

0 comments on commit 9aca522

Please sign in to comment.