barge/docker-compose-local-parity...

136 lines
3.7 KiB
YAML
Raw Normal View History

version: '2.1'
# Run: docker-compose --project-name=ocean up
services:
mongodb:
image: mongo:3.6
ports:
- "27017:27017"
command: mongod
networks:
2018-11-14 16:33:09 +01:00
backend:
ipv4_address: 172.15.0.11
parity-node:
2018-11-14 18:17:23 +01:00
image: oceanprotocol/parity-ethereum:beta
entrypoint: /opt/parity/parity
command:
2018-11-14 18:17:23 +01:00
--config /home/parity/parity/config/secretstoreclient.toml
2018-11-12 09:12:49 +01:00
--db-path /home/parity/chains
--keys-path /home/parity/.local/share/io.parity.ethereum/keys
--base-path /home/parity/base
--engine-signer 0x00bd138abd70e2f00903268f3db08f2d25677c9e
2018-11-14 18:17:23 +01:00
--ws-interface all
--jsonrpc-cors all
2018-11-14 18:17:23 +01:00
--jsonrpc-interface all
--jsonrpc-hosts all
--jsonrpc-apis all
--unsafe-expose
--unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e
volumes:
2018-11-12 09:12:49 +01:00
- ./parity/parity/config:/home/parity/parity/config
- parity-node:/home/parity/.local/share/io.parity.ethereum/
- ./parity/parity/authorities/validator0.json:/home/parity/.local/share/io.parity.ethereum/keys/ocean-network/validator.json
- ./parity/parity/keys:/home/parity/.local/share/io.parity.ethereum/keys/ocean-network
- ./parity/parity/authorities/validator0.pwd:/home/parity/parity/validator.pwd
- ./parity/parity/node0.network.key:/home/parity/.local/share/io.parity.ethereum/network/key
ports:
- 8545:8545
networks:
2018-11-14 16:33:09 +01:00
backend:
ipv4_address: 172.15.0.12
secret-store:
image: oceanprotocol/parity-ethereum:master
# entrypoint: tail -f /dev/null
entrypoint: /opt/parity/parity
command:
--config /etc/parity/secretstore/config.toml --jsonrpc-cors all --jsonrpc-interface all --jsonrpc-hosts all --jsonrpc-apis all
volumes:
- ./parity/secret_store/config/:/etc/parity/secretstore/
- secret-store:/parity_data/
- ./parity/secret_store/keys/:/parity_data/keys/ocean-network/
ports:
- 12000:12000
2018-11-16 16:37:58 +01:00
- 12001
2018-11-14 16:33:09 +01:00
networks:
backend:
ipv4_address: 172.15.0.13
2018-11-16 16:37:58 +01:00
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;'
keeper-contracts:
image: oceanprotocol/keeper-contracts:${OCEAN_VERSION:-stable}
networks:
2018-11-14 16:33:09 +01:00
backend:
ipv4_address: 172.15.0.14
environment:
LOCAL_CONTRACTS: "true"
DEPLOY_CONTRACTS: ${DEPLOY_CONTRACTS}
DATABASE_PATH: "/ganache-db"
REUSE_DATABASE: ${REUSE_DATABASE}
NETWORK_NAME: ${KEEPER_NETWORK_NAME}
POA_HOST: "parity-node"
volumes:
- ${ARTIFACTS_FOLDER}:/keeper-contracts/artifacts/
- ${GANACHE_DATABASE_PATH}/ganache-db:/ganache-db
2018-10-26 09:33:05 +02:00
aquarius:
image: oceanprotocol/aquarius:${OCEAN_VERSION:-stable}
ports:
- 5000:5000
networks:
2018-11-14 16:33:09 +01:00
backend:
ipv4_address: 172.15.0.15
depends_on:
- keeper-contracts
environment:
KEEPER_HOST: http://parity-node
DB_HOSTNAME: mongodb
LOCAL_CONTRACTS: 'true'
volumes:
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
2018-11-22 17:40:28 +01:00
brizo:
image: oceanprotocol/brizo:${OCEAN_VERSION:-stable}
ports:
- 8030:8030
networks:
backend:
2018-11-23 16:28:51 +01:00
ipv4_address: 172.15.0.17
2018-11-22 17:40:28 +01:00
depends_on:
- keeper-contracts
2018-11-23 16:54:11 +01:00
- parity-node
2018-11-22 17:40:28 +01:00
environment:
2018-11-23 16:54:11 +01:00
KEEPER_URL: http://parity-node:8545
2018-11-22 17:40:28 +01:00
LOCAL_CONTRACTS: "true"
KEEPER_NETWORK_NAME: ${KEEPER_NETWORK_NAME}
2018-11-26 13:45:18 +01:00
AQUARIUS_URL: http://aquarius:5000
2018-11-22 17:40:28 +01:00
volumes:
- ${ARTIFACTS_FOLDER}:/usr/local/keeper-contracts/:ro
networks:
backend:
2018-11-14 16:33:09 +01:00
driver: bridge
ipam:
driver: default
config:
- subnet: 172.15.0.1/24
gateway: 172.15.0.1
volumes:
parity-node:
2018-11-14 16:33:09 +01:00
secret-store: