-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 986 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
version: '3.9'
services:
aesm:
image: initc3/linux-sgx@sha256:9ca0612f0555bcb890afbeb9b21d57723b2512c68a057ec777d24f756ab2224a
devices:
- /dev/isgx
volumes:
- aesmd-socket:/var/run/aesmd
- ./aesmd.conf:/etc/aesmd.conf
user: aesmd
#stdin_open: true
#tty: true
working_dir: /opt/intel/sgx-aesm-service/aesm
environment:
LD_LIBRARY_PATH: /opt/intel/sgx-aesm-service/aesm
command: ./aesm_service --no-daemon
genquote:
image: sgx_hashmachine
build:
context: .
dockerfile: Dockerfile
depends_on:
- aesm
devices:
- /dev/isgx
environment:
SGX_SPID: ${SGX_SPID}
IAS_PRIMARY_KEY: ${IAS_PRIMARY_KEY}
volumes:
- aesmd-socket:/var/run/aesmd
#- ./out/Enclave.signed.so:/usr/src/hashmachine/Enclave.signed.so
command: ./run-client --debug -q
volumes:
aesmd-socket:
driver: local
driver_opts:
type: "tmpfs"
device: "tmpfs"
o: "rw"