forked from scrtlabs/enigma-docker-network-deprecated
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (41 loc) · 941 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '3'
services:
contract:
build:
context: enigma-contract
dockerfile: Dockerfile.ganache-cli
args:
- SSH_PRIVATE_KEY
- GIT_BRANCH_CONTRACT=${GIT_BRANCH_CONTRACT}
stdin_open: true
tty: true
volumes:
- built_contracts:/home/node/enigma-contract/build/contracts
surface:
build:
context: surface
args:
- SSH_PRIVATE_KEY
- GIT_BRANCH_SURFACE=${GIT_BRANCH_SURFACE}
depends_on:
- contract
stdin_open: true
tty: true
volumes:
- built_contracts:/var/lib/built_contracts
hostname: enigma_surface_${WORKER_INDEX}
core:
build:
context: core
args:
- SSH_PRIVATE_KEY
- GIT_BRANCH_CORE=${GIT_BRANCH_CORE}
stdin_open: true
tty: true
devices:
- "/dev/isgx:/dev/isgx"
expose:
- "5552"
hostname: enigma_core_${WORKER_INDEX}
volumes:
built_contracts: