-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from oceanprotocol/feature/refactor
Refactor to use individual docker compose files
- Loading branch information
Showing
64 changed files
with
800 additions
and
597 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '2.1' | ||
services: | ||
aquarius: | ||
image: oceanprotocol/aquarius:${OCEAN_VERSION:-stable} | ||
ports: | ||
- 5000:5000 | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.15 | ||
depends_on: | ||
- mongodb | ||
environment: | ||
DB_HOSTNAME: mongodb | ||
|
||
mongodb: | ||
image: mongo:3.6 | ||
command: mongod | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.11 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: '2.1' | ||
services: | ||
brizo: | ||
image: oceanprotocol/brizo:${OCEAN_VERSION:-stable} | ||
ports: | ||
- 8030:8030 | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.17 | ||
depends_on: | ||
- keeper-node | ||
env_file: | ||
- ${BRIZO_ENV_FILE} | ||
environment: | ||
KEEPER_URL: ${KEEPER_RPC_URL} | ||
LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS} | ||
volumes: | ||
- ${KEEPER_ARTIFACTS_FOLDER}:/usr/local/keeper-contracts:ro |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '2.1' | ||
services: | ||
keeper-contracts: | ||
image: oceanprotocol/keeper-contracts:${OCEAN_VERSION:-stable} | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.14 | ||
environment: | ||
DEPLOY_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS} | ||
LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS} | ||
REUSE_DATABASE: ${GANACHE_REUSE_DATABASE} | ||
DATABASE_PATH: "/ganache-db" | ||
NETWORK_NAME: ${KEEPER_NETWORK_NAME} | ||
KEEPER_RPC_HOST: ${KEEPER_RPC_HOST} | ||
KEEPER_RPC_PORT: ${KEEPER_RPC_PORT} | ||
KEEPER_RPC_URL: ${KEEPER_RPC_URL} | ||
depends_on: | ||
- keeper-node | ||
volumes: | ||
- ${KEEPER_ARTIFACTS_FOLDER}:/keeper-contracts/artifacts/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '2.1' | ||
|
||
networks: | ||
backend: | ||
driver: bridge | ||
ipam: | ||
driver: default | ||
config: | ||
- subnet: 172.15.0.1/24 | ||
gateway: 172.15.0.1 | ||
|
||
volumes: | ||
keeper-node: | ||
secret-store: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '2.1' | ||
services: | ||
keeper-node: | ||
image: trufflesuite/ganache-cli:latest | ||
command: | ||
-d | ||
ports: | ||
- 8545:8545 | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '2.1' | ||
services: | ||
keeper-node: | ||
image: parity/parity:stable | ||
command: | ||
--chain kovan | ||
--base-path /home/parity/base | ||
--keys-path /home/parity/.local/share/io.parity.ethereum/keys | ||
--light | ||
--ws-interface all | ||
--jsonrpc-cors all | ||
--jsonrpc-interface all | ||
--jsonrpc-hosts all | ||
--jsonrpc-apis all | ||
--unsafe-expose | ||
volumes: | ||
- ../networks/kovan/keys:/home/parity/.local/share/io.parity.ethereum/keys/kovan | ||
ports: | ||
- 8545:8545 | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
version: '2.1' | ||
services: | ||
keeper-node: | ||
image: parity/parity:stable | ||
command: | ||
--config /home/parity/parity/config/config.toml | ||
--db-path /home/parity/chains | ||
--keys-path /home/parity/.local/share/io.parity.ethereum/keys | ||
--base-path /home/parity/base | ||
--engine-signer 0x00bd138abd70e2f00903268f3db08f2d25677c9e | ||
--ws-interface all | ||
--jsonrpc-cors all | ||
--jsonrpc-interface all | ||
--jsonrpc-hosts all | ||
--jsonrpc-apis all | ||
--unsafe-expose | ||
--unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e | ||
volumes: | ||
- ../networks/nile/config:/home/parity/parity/config | ||
- keeper-node:/home/parity/.local/share/io.parity.ethereum/ | ||
- ../networks/nile/authorities/validator0.json:/home/parity/.local/share/io.parity.ethereum/keys/nile/validator.json | ||
- ../networks/nile/keys:/home/parity/.local/share/io.parity.ethereum/keys/nile | ||
- ../networks/nile/authorities/validator0.pwd:/home/parity/parity/validator.pwd | ||
- ../networks/nile/node0.network.key:/home/parity/.local/share/io.parity.ethereum/network/key | ||
ports: | ||
- 8545:8545 | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: '2.1' | ||
services: | ||
keeper-node: | ||
image: parity/parity:stable | ||
command: | ||
--config /home/parity/config/config.toml | ||
--db-path /home/parity/chains | ||
--keys-path /home/parity/.local/keys | ||
--base-path /home/parity/base | ||
--min-gas-price 0 | ||
--jsonrpc-cors all | ||
--jsonrpc-interface all | ||
--jsonrpc-hosts all | ||
--jsonrpc-apis all | ||
--unsafe-expose | ||
--unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e | ||
volumes: | ||
- ../networks/spree/config:/home/parity/config | ||
- ../networks/spree/authorities/validator0.json:/home/parity/.local/keys/spree/validator.json | ||
- ../networks/spree/keys:/home/parity/.local/keys/spree | ||
- ../networks/spree/authorities/validator0.pwd:/home/parity/validator.pwd:ro | ||
- ../networks/spree/node0.network.key:/home/parity/.local/share/io.parity.ethereum/network/key:ro | ||
ports: | ||
- 8545:8545 | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '2.1' | ||
services: | ||
pleuston: | ||
image: oceanprotocol/pleuston:${OCEAN_VERSION:-stable} | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.19 | ||
ports: | ||
- 3000:3000 | ||
depends_on: | ||
- keeper-node | ||
- aquarius | ||
- brizo | ||
environment: | ||
# Need browser to connect to exposed ports | ||
KEEPER_HOST: localhost | ||
AQUARIUS_HOST: localhost | ||
LOCAL_CONTRACTS: ${KEEPER_DEPLOY_CONTRACTS} | ||
volumes: | ||
- ${KEEPER_ARTIFACTS_FOLDER}:/pleuston/node_modules/@oceanprotocol/keeper-contracts/artifacts/:ro |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
version: '2.1' | ||
services: | ||
secret-store: | ||
image: oceanprotocol/parity-ethereum:master | ||
entrypoint: /opt/parity/parity | ||
command: | ||
--config /etc/parity/secretstore/config.toml | ||
--jsonrpc-cors all | ||
--jsonrpc-interface all | ||
--jsonrpc-hosts all | ||
--jsonrpc-apis all | ||
--base-path /secret-store/ | ||
volumes: | ||
- ../networks/secret-store/config/:/etc/parity/secretstore/ | ||
- secret-store:/secret-store/ | ||
- ../networks/secret-store/keys/:/secret-store/keys/secretstore/ | ||
ports: | ||
- 12000:12000 | ||
- 12001 | ||
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;' | ||
|
||
secret-store-signing-node: | ||
image: parity/parity:stable | ||
command: | ||
--chain dev | ||
--light | ||
--jsonrpc-interface all | ||
--jsonrpc-apis secretstore | ||
--jsonrpc-cors all | ||
--keys-path /home/parity/.local/keys | ||
ports: | ||
- 9545:8545 | ||
volumes: | ||
- ../networks/secret-store/keys:/home/parity/.local/keys/DevelopmentChain:ro | ||
networks: | ||
backend: | ||
ipv4_address: 172.15.0.18 |
Oops, something went wrong.