-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
43 lines (40 loc) · 1.21 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SQNC Docker Compose file
# This is designed to help compile and run the Sequence (SQNC) node.
# It only works in --dev more but if you want to setup a multi-nodes, read
# docker/Dockerfile
# You can connect the frontend on port 9944
# RUN:
# docker-compose up -d
# docker-compose up -d dev
# KNOCKDOWN:
# docker-compose down
# ATTACH:
# docker-compose exec sqnc_node_dev bash
# ENVIRONMENTOPTIONS:
# IDENTITY (optional): custom/null/alice/bob/charlie/dave/eve/ferdie
# VALIDATOR (optional): null/true
# CHAIN (optional): null/chain_name
# WS,RPC,CORS (optional): null/true, null/true, null/all
# BOOTNODES (optional): null/NODE_URL,NODE_URL2/etc
# NODEKEY (optional): null/key
# e.g: - BOOTNODES=/ip4/192.168.0.1/tcp/30333/p2p/Qme6f4bVFaS4AwTydZT4UesE4GS8ZBL5wD1RXq5eEdKYUH
version: '3'
services:
dev:
image: sqnc-substrate-node:latest
container_name: sqnc_node_dev
build:
dockerfile: ./Dockerfile
context: .
#tty: true
#stdin_open: true
ports:
- 30333:30333
- 9944:9944
- 9933:9933
environment:
- IDENTITY=dev
- WS=true
- RPC=true
- CORS=all
restart: on-failure