-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharangod.manifest.template
70 lines (52 loc) · 1.93 KB
/
arangod.manifest.template
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
70
loader.entrypoint = "file:{{ gramine.libos }}"
libos.entrypoint = "/app/bin/arangod"
loader.argv_src_file = "file:/app/argv"
loader.log_level = "error"
#loader.log_file = "log.txt"
loader.env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}"
loader.env.MALLOC_ARENA_MAX = "1"
loader.env.GLIBCXX_FORCE_NEW = "1"
loader.env.ARANGODB_OVERRIDE_CRASH_HANDLER = "off"
loader.uid = {{ app_uid }}
loader.gid = {{ app_gid }}
sys.stack.size = "8M"
#sys.insecure__allow_eventfd = true
fs.mounts = [
{ path = "/tmp", uri = "file:/tmp", type = "tmpfs" },
{ path = "/etc", uri = "file:/etc" },
{ path = "/usr", uri = "file:/usr" },
{ path = "/lib", uri = "file:{{ gramine.runtimedir() }}" },
{ path = "{{ arch_libdir }}", uri = "file:{{ arch_libdir }}" },
{ path = "/app", uri = "file:/app" },
{ path = "/var/lib/arangodb3", uri = "file:/data", type = "encrypted", key_name = "data" },
{ path = "/var/lib/arangodb3-apps", uri = "file:/apps", type = "encrypted", key_name = "apps" },
{ path = "/var/log/arangodb3", uri = "file:/logs", type = "encrypted", key_name = "logs" },
]
fs.insecure__keys.data = "ffeeddccbbaa99887766554433221100"
fs.insecure__keys.apps = "7766554433221100ffeeddccbbaa9988"
fs.insecure__keys.logs = "00112233445566778899aabbccddeeff"
sgx.thread_num = 64
sgx.enclave_size = "2G"
sgx.debug = false
sgx.isvprodid = 1
sgx.isvsvn = 1
sgx.trusted_files = [
"file:{{ gramine.libos }}",
"file:{{ gramine.runtimedir() }}/",
"file:{{ arch_libdir }}/",
"file:/app/argv",
"file:/app/bin/arangod",
"file:/app/arangod.conf",
"file:/app/share/arangodb3/",
"file:/usr/lib/ssl/openssl.cnf",
"file:/etc/machine-id",
"file:/etc/group",
"file:/etc/passwd",
"file:/etc/gai.conf",
"file:/etc/nsswitch.conf",
]
sgx.allowed_files = [
"file:/etc/host.conf",
"file:/etc/hosts",
"file:/etc/resolv.conf",
]