2018-11-29 12:32:38 +01:00
|
|
|
version: '2.1'
|
|
|
|
services:
|
|
|
|
secret-store:
|
|
|
|
image: oceanprotocol/parity-ethereum:master
|
|
|
|
entrypoint: /opt/parity/parity
|
|
|
|
command:
|
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
|
2018-12-06 11:42:38 +01:00
|
|
|
--base-path /secret-store/
|
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/
|
2018-12-06 10:58:28 +01:00
|
|
|
- ../networks/secret-store/keys/:/secret-store/keys/secretstore/
|
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:
|
2018-12-06 09:16:50 +01:00
|
|
|
image: parity/parity:stable
|
2018-12-05 10:46:50 +01:00
|
|
|
command:
|
|
|
|
--chain dev
|
|
|
|
--light
|
|
|
|
--jsonrpc-interface all
|
|
|
|
--jsonrpc-apis secretstore
|
|
|
|
--jsonrpc-cors all
|
2018-12-05 14:03:41 +01:00
|
|
|
--keys-path /home/parity/.local/keys
|
2018-12-05 10:46:50 +01:00
|
|
|
ports:
|
|
|
|
- 9545:8545
|
2018-12-05 14:03:41 +01:00
|
|
|
volumes:
|
2018-12-06 10:58:28 +01:00
|
|
|
- ../networks/secret-store/keys:/home/parity/.local/keys/DevelopmentChain:ro
|
2018-12-05 10:46:50 +01:00
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.18
|