-
Notifications
You must be signed in to change notification settings - Fork 199
/
docker-compose.yml
69 lines (65 loc) · 1.52 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
60
61
62
63
64
65
66
67
68
69
# docker compose file that sets up a network for beta testing
version: "3"
services:
aesm:
image: fortanix/aesmd:2.13.103.1-1
devices:
- /dev/sgx/enclave
- /dev/sgx/provision
volumes:
- /tmp/aesmd:/var/run/aesmd
stdin_open: true
tty: true
bootstrap:
image: ghcr.io/scrtlabs/testnet:sbs-1
container_name: bootstrap
depends_on:
- aesm
devices:
- /dev/sgx/enclave
- /dev/sgx/provision
volumes:
- /tmp/aesmd:/var/run/aesmd
- /tmp/secretd:/root/.secretd
- /tmp/secretcli:/root/.secretcli
stdin_open: true
tty: true
environment:
- http_proxy
- https_proxy
- SECRET_NODE_TYPE=BOOTSTRAP
- LOG_LEVEL=trace
- CHAINID=confidential-1
expose:
- 26656
- 26657
ports:
- "5000:5000"
node:
image: ghcr.io/scrtlabs/testnet:s-1
depends_on:
- bootstrap
devices:
- /dev/sgx/enclave
- /dev/sgx/provision
volumes:
- /tmp/aesmd:/var/run/aesmd
- /tmp/secretd:/tmp/.secretd
- /tmp/secretcli:/root/.secretcli
stdin_open: true
tty: true
environment:
- http_proxy
- https_proxy
- SECRET_NODE_TYPE=node
- LOG_LEVEL=trace
- CHAINID=confidential-1
- RPC_URL=bootstrap:26657
- PERSISTENT_PEERS=115aa0a629f5d70dd1d464bc7e42799e00f4edae@bootstrap:26656
- FAUCET_URL=bootstrap:5000
deploy:
restart_policy:
condition: on-failure
delay: 10s
max_attempts: 10
window: 123s