-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
59 lines (55 loc) · 1.36 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '3'
services:
sgx:
image: skalenetwork/sgxwallet_sim:${SGX_WALLET_TAG}
container_name: sgx
restart: unless-stopped
network_mode: host
volumes:
- ${SGX_DIR}:/usr/src/sdk/sgx_data
- /dev/urandom:/dev/random
logging:
driver: json-file
options:
max-size: "10m"
max-file: "4"
command: -s -y
hnode:
container_name: hnode
image: "hnode:${TAG:-latest}"
network_mode: host
build:
context: "./hardhat-node"
dockerfile: Dockerfile
tty: true
environment:
PRIVATE_KEY: ${ETH_PRIVATE_KEY}
redis:
container_name: redis
image: "redis:6.0-alpine"
tty: true
network_mode: host
restart: unless-stopped
environment:
- REDIS_REPLICATION_MODE=master
command: "redis-server /config/redis.conf"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${REDIS_DIR}/redis-data:/data/db
- ${REDIS_DIR}/redis-config:/config
tm:
container_name: tm
image: "transaction-manager:${TAG:-latest}"
network_mode: host
build:
context: "."
dockerfile: Dockerfile
tty: true
environment:
SGX_URL: ${SGX_URL}
ETH_PRIVATE_KEY: ${ETH_PRIVATE_KEY}
ENDPOINT: ${ENDPOINT}
NODE_DATA_PATH: /skale_node_data
ALLOWED_TS_DIFF: 5200
volumes:
- ${SKALE_DIR}/node_data:/skale_node_data