Skip to content

Instantly share code, notes, and snippets.

@lucca65
Created September 6, 2018 02:40
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 lucca65/81c50614fd15a3c65037dde59ca4f076 to your computer and use it in GitHub Desktop.
Save lucca65/81c50614fd15a3c65037dde59ca4f076 to your computer and use it in GitHub Desktop.
Esse funciona!
version: "3"
services:
builder:
build:
context: builder
image: eosio/builder:v1.2.2
nodeosd:
container_name: nodeosd
build:
context: .
image: eosio/eos-dev:v1.2.2
command: /opt/eosio/bin/nodeosd.sh --data-dir /opt/eosio/bin/data-dir -e --replay-blockchain --hard-replay-blockchain --http-validate-host 0
hostname: nodeosd
ports:
- 8888:8888
- 9876:9876
expose:
- "8888"
volumes:
- nodeos-data-volume:/opt/eosio/bin/data-dir
- ../contracts:/contracts
keosd:
container_name: keosd
# image: eosio/eos:latest
image: eosio/eos-dev:v1.2.1
hostname: keosd
command: /opt/eosio/bin/keosd --wallet-dir /opt/eosio/bin/data-dir --http-server-address=0.0.0.0:8900 --http-validate-host 0
ports:
- 8900:8900
expose:
- "8900"
links:
- nodeosd
volumes:
- keosd-data-volume:/opt/eosio/bin/data-dir
- ../contracts:/contracts
stop_grace_period: 10m
volumes:
nodeos-data-volume:
external: true
keosd-data-volume:
external: true
contracts:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment