Files
eos-dockerfiles/Docker/docker-compose.yml
2018-09-26 14:04:11 +08:00

41 lines
950 B
YAML
Executable File

version: "3"
services:
builder:
build:
context: builder
image: eosio/builder
nodeosd:
build:
context: .
image: eosio/eos
command: /opt/eosio/bin/nodeosd.sh --data-dir /opt/eosio/bin/data-dir -e --http-alias=nodeosd:8888 --http-alias=127.0.0.1:8888 --http-alias=localhost:8888
hostname: nodeosd
ports:
- 8888:8888
- 9876:9876
expose:
- "8888"
volumes:
- nodeos-data-volume:/opt/eosio/bin/data-dir
cap_add:
- IPC_LOCK
stop_grace_period: 10m
keosd:
image: eosio/eos
command: /opt/eosio/bin/keosd --wallet-dir /opt/eosio/bin/data-dir --http-server-address=127.0.0.1:8900 --http-alias=keosd:8900 --http-alias=localhost:8900
hostname: keosd
links:
- nodeosd
volumes:
- keosd-data-volume:/opt/eosio/bin/data-dir
stop_grace_period: 10m
volumes:
nodeos-data-volume:
external: true
keosd-data-volume:
external: true