Last active
March 1, 2021 15:24
-
-
Save revant/77f4ebc94f08663d68aab635bd57a6c6 to your computer and use it in GitHub Desktop.
ganache-cli docker stack
This file contains hidden or 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
| version: "3.7" | |
| services: | |
| ganache: | |
| image: trufflesuite/ganache-cli:latest | |
| command: -h 0.0.0.0 -p 7545 --db /data | |
| volumes: | |
| - ganache-vol:/data | |
| networks: | |
| - ganache-network | |
| deploy: | |
| restart_policy: | |
| condition: on-failure | |
| placement: | |
| constraints: | |
| - node.labels.ganache-cli.data == true | |
| volumes: | |
| ganache-vol: | |
| networks: | |
| ganache-network: | |
| name: ganache-network | |
| attachable: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment