Skip to content

Instantly share code, notes, and snippets.

@zach-is-my-name
Last active September 25, 2020 02:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zach-is-my-name/514768d66741e15b4566aa81e3faaf5e to your computer and use it in GitHub Desktop.
Save zach-is-my-name/514768d66741e15b4566aa81e3faaf5e to your computer and use it in GitHub Desktop.
docker-compose.yml
version: "3"
services:
mongo:
image: mongo
ports:
- 27017:27017
executor:
build:
context: https://github.com/zach-is-my-name/Aion.git#docker
depends_on:
- mongo
- ganache-cli
labels:
purpose: "run the Aion system executor"
platform: "node.js"
truffle-test-suite:
build: .
depends_on:
- ganache-cli
labels:
purpose: "run the GoalZapp test suite"
platform: "node.js"
framework: "truffle"
ganache-cli:
image: trufflesuite/ganache-cli:latest
command: ganache-cli -f https://sandbox.truffleteams.com/de77b065-c9a7-4c8b-9fe9-0e507a623f9a
ports:
- 8545:8545
labels:
purpose: "run the virtual ethereum network for testing, hosting Aion contract"
platform: "node.js"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment