forked from EOSIO/tropical-example-web-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
24 lines (23 loc) · 847 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3.4'
services:
eosio:
build:
context: ./eosio
dockerfile: Dockerfile
labels:
- "cleanup"
image: tropical-example/eosio
command: ["nodeos", "--data-dir", "/root/.local/share", "-e", "-p", "eosio", "--hard-replay", "--plugin", "eosio::producer_plugin", "--plugin", "eosio::chain_api_plugin", "--plugin", "eosio::http_plugin", "--http-server-address=0.0.0.0:8888", "--access-control-allow-origin=*", "--contracts-console", "--http-validate-host=false", "--verbose-http-errors", "--max-transaction-time=100"]
labels:
- "cleanup"
ports:
- "8888:8888"
- "9876:9876"
volumes:
- ./eosio/contracts:/opt/eosio/bin/contracts
- ./eosio/scripts:/opt/eosio/bin/scripts
- eosiochaindata:/root/.local/share
volumes:
eosiochaindata:
labels:
- "cleanup"