Created
January 14, 2020 14:12
-
-
Save ligi/4eafb7b6a92edde0a1cee383c3f7d9fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
incubed-server: | |
depends_on: | |
incubed-parity: | |
condition : service_healthy | |
image: slockit/in3-node:latest | |
volumes: | |
- ./:/secure # directory where the private key is stored | |
ports: | |
- 8500:8500/tcp # open the port 8500 to be accessed by the public | |
command: | |
- --privateKey=/secure/56d986deb3b5d14cb230d0f39247cc32416020b6.json # internal path to the key | |
- --privateKeyPassphrase=redacted # passphrase to unlock the key | |
- --chain=0x5 # chain | |
- --rpcUrl=http://172.15.0.3:8545 # URL of the eth client | |
- --registry=0x6c095a05764a23156efd9d603eada144a9b1af33 #Incubed Registry contract address | |
- --profile-name=TincubETH | |
- --profile-icon=https://avatars0.githubusercontent.com/u/53100049?s=200&v=4 | |
- --profile-comment=TincubETH onion node | |
- --profile-url=https://tincubeth.org | |
- --logging-level=Info | |
- --minBlockHeight=10 | |
networks: | |
incubed_net: | |
ipv4_address: '172.15.0.2' | |
incubed-parity: | |
image: parity/parity:stable | |
command: | |
- --auto-update=none # do not automatically update the client | |
- --pruning=auto | |
- --pruning-history=16 | |
- --pruning-memory=16 # limit storage | |
- --chain=goerli | |
- --jsonrpc-interface=172.15.0.3 | |
- --jsonrpc-port=8545 | |
- --ws-interface=172.15.0.3 | |
- --ws-port=8546 | |
- --jsonrpc-experimental | |
ports: | |
- 8545:8545 | |
- 8546:8546 | |
healthcheck: | |
test: ["CMD-SHELL", "curl --data '{\"method\":\"eth_blockNumber\",\"params\":[],\"id\":1,\"jsonrpc\":\"2.0\"}' -H 'Content-Type: application/json' -X POST http://172.15.0.3:8545"] | |
interval: 10s | |
timeout: 10s | |
retries: 5 | |
networks: | |
incubed_net: | |
ipv4_address: '172.15.0.3' | |
networks: | |
incubed_net: | |
driver: bridge | |
ipam: | |
driver: default | |
config: | |
- subnet: 172.15.0.0/16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment