-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yaml
46 lines (44 loc) · 1.24 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
44
45
services:
masa-tee-worker:
# network_mode: "host"
image: masaengineering/tee-worker:main
# Uncomment to build from source
# build: .
ports:
- "8081:8080"
environment:
LISTEN_ADDRESS: ":8080"
# uncomment if not running with Intel SGX HW
OE_SIMULATION: "1"
# uncomment if running with Intel SGX
# devices:
# - /dev/sgx_enclave
# - /dev/sgx_provision
volumes:
- masa:/home/masa/
- ./.env:/home/masa/.env
restart: always
masa-node:
network_mode: "host"
#image: masaengineering/oracle:v0.8.8
build: .
# ports:
# - "4001:4001/tcp"
# - "4001:4001/udp"
# - "8080:8080"
environment:
TEE_WORKER_URL: "http://masa-tee-worker:8080"
volumes:
- masa:/home/masa/
- ./.env:/home/masa/.env
restart: always
volumes:
masa:
# This is a named volume. You can specify additional options here if needed,
# such as setting a specific driver, driver options, or even labeling.
# For most users, the simple declaration is sufficient.
# Example with explicit driver (usually not required):
# driver: local
# Example with labels (optional):
# labels:
# - "com.example.description=MASA node key storage"