2018-11-29 12:32:38 +01:00
|
|
|
version: '2.1'
|
|
|
|
services:
|
|
|
|
secret-store:
|
2019-01-16 16:05:40 +01:00
|
|
|
image: oceanprotocol/parity-ethereum:master
|
2018-12-27 15:14:20 +01:00
|
|
|
entrypoint: /entrypoint.sh
|
|
|
|
environment:
|
|
|
|
CONFIGURE_ACL: "${CONFIGURE_ACL}"
|
2019-01-28 11:36:00 +01:00
|
|
|
ACL_CONTRACT_ADDRESS: "${ACL_CONTRACT_ADDRESS}"
|
|
|
|
NETWORK: "${KEEPER_NETWORK_NAME}"
|
2018-11-29 12:32:38 +01:00
|
|
|
command:
|
2019-02-06 08:21:29 +01:00
|
|
|
--chain /etc/parity/secretstore/chain_${KEEPER_NETWORK_NAME}.json
|
2018-12-06 09:16:50 +01:00
|
|
|
--config /etc/parity/secretstore/config.toml
|
|
|
|
--jsonrpc-cors all
|
|
|
|
--jsonrpc-interface all
|
|
|
|
--jsonrpc-hosts all
|
|
|
|
--jsonrpc-apis all
|
2019-02-01 17:48:02 +01:00
|
|
|
--no-warp
|
2019-02-06 08:21:29 +01:00
|
|
|
--node-key 0x32313aee5977ca63184b696e4cf7b7bfc2745f727dbef82d7a1f6314ad58dcf5
|
|
|
|
--reserved-peers /etc/parity/secretstore/peers_${KEEPER_NETWORK_NAME}.txt
|
|
|
|
-l secretstore_net,secretstore=trace
|
2018-11-29 12:32:38 +01:00
|
|
|
volumes:
|
2018-12-06 10:58:28 +01:00
|
|
|
- ../networks/secret-store/config/:/etc/parity/secretstore/
|
2018-12-06 09:16:50 +01:00
|
|
|
- secret-store:/secret-store/
|
2019-02-06 08:21:29 +01:00
|
|
|
- ../networks/secret-store/keys:/parity_data/keys
|
2018-12-27 15:14:20 +01:00
|
|
|
- ${KEEPER_ARTIFACTS_FOLDER}:/contracts
|
2018-11-29 12:32:38 +01:00
|
|
|
ports:
|
2018-12-05 10:46:50 +01:00
|
|
|
- 12000:12000
|
|
|
|
- 12001
|
2018-11-29 12:32:38 +01:00
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.13
|
|
|
|
|
|
|
|
secret-store-cors-proxy:
|
|
|
|
image: nginx:alpine
|
|
|
|
volumes:
|
|
|
|
- ../cors-proxy.conf:/etc/nginx/nginx.conf:ro
|
|
|
|
depends_on:
|
|
|
|
- secret-store
|
|
|
|
ports:
|
|
|
|
- 12001:12001
|
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.16
|
|
|
|
command: nginx -g 'daemon off;'
|
2018-12-05 10:46:50 +01:00
|
|
|
|
|
|
|
secret-store-signing-node:
|
2019-02-13 09:06:37 +01:00
|
|
|
image: parity/parity:v2.3.2
|
2018-12-05 10:46:50 +01:00
|
|
|
command:
|
2019-02-06 08:21:29 +01:00
|
|
|
--chain /etc/parity/secretstore/chain_${KEEPER_NETWORK_NAME}.json
|
2018-12-05 10:46:50 +01:00
|
|
|
--light
|
|
|
|
--jsonrpc-interface all
|
|
|
|
--jsonrpc-apis secretstore
|
|
|
|
--jsonrpc-cors all
|
2019-02-01 17:48:02 +01:00
|
|
|
--no-warp
|
2018-12-05 14:03:41 +01:00
|
|
|
--keys-path /home/parity/.local/keys
|
2019-02-06 08:21:29 +01:00
|
|
|
--node-key 0x27881af7f75724e25a9818f6c8e719895c8c9d3512003fc8ad0f47d762a07a79
|
|
|
|
--reserved-peers /etc/parity/secretstore/peers_${KEEPER_NETWORK_NAME}.txt
|
2018-12-05 10:46:50 +01:00
|
|
|
ports:
|
|
|
|
- 9545:8545
|
2018-12-05 14:03:41 +01:00
|
|
|
volumes:
|
2019-02-06 08:21:29 +01:00
|
|
|
- ../networks/secret-store/keys:/home/parity/.local/keys
|
2019-02-01 17:48:02 +01:00
|
|
|
- ../networks/secret-store/config/:/etc/parity/secretstore/
|
2018-12-05 10:46:50 +01:00
|
|
|
networks:
|
|
|
|
backend:
|
2019-01-28 11:36:00 +01:00
|
|
|
ipv4_address: 172.15.0.18
|