mirror of
https://github.com/zkopru-network/zkopru.git
synced 2026-01-23 13:17:53 -05:00
35 lines
997 B
YAML
35 lines
997 B
YAML
version: '3'
|
|
|
|
services:
|
|
testnet:
|
|
ports:
|
|
- '5000:5000'
|
|
build:
|
|
context: ../packages/contracts/
|
|
dockerfile: ../../dockerfiles/Contract.dockerfile
|
|
command: ganache-cli --db=/data -i 20200406 -p 5000 --deterministic --host 0.0.0.0
|
|
coordinator:
|
|
build:
|
|
context: ../
|
|
dockerfile: ./dockerfiles/Cli.dockerfile
|
|
ports:
|
|
- '1234:1234'
|
|
- '8888:8888'
|
|
links:
|
|
- 'testnet:testnet'
|
|
depends_on:
|
|
- 'testnet'
|
|
command: sh -c "sleep 5s && gotty -w --port 1234 node /proj/packages/cli/dist/apps/coordinator/cli.js --config /proj/packages/cli/coordinator.dev.json"
|
|
wallet:
|
|
build:
|
|
context: ../
|
|
dockerfile: ./dockerfiles/Cli.dockerfile
|
|
ports:
|
|
- '4321:4321'
|
|
links:
|
|
- 'testnet:testnet'
|
|
- 'coordinator:coordinator'
|
|
depends_on:
|
|
- 'testnet'
|
|
command: sh -c "sleep 5s && gotty -w --port 4321 node /proj/packages/cli/dist/apps/wallet/cli.js --config /proj/packages/cli/wallet.dev.json"
|