forked from aerospike/aerospike-server.docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aerospike.conf.template
51 lines (50 loc) · 953 Bytes
/
aerospike.conf.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
service {
user root
group root
paxos-single-replica-limit 1
pidfile /var/run/aerospike/asd.pid
service-threads 4
transaction-queues 4
transaction-threads-per-queue 4
proto-fd-max 15000
}
logging {
file /storage/logs/aerospike.log {
context any info
}
console {
context any info
}
}
network {
service {
port 3000
access-address <%=os.getenv("NODE_EXT_ADDR")%> virtual
}
fabric {
port 3001
access-address <%=os.getenv("NODE_INT_ADDR")%> virtual
}
heartbeat {
port 3002
mode mesh
<%for peerAddr string.gmatch(os.getenv("CLUSTER_ADDRS"), "[^,]+") do%>
mesh-seed-address-port <%=peerAddr%> 3002
<%end%>
interval 150
timeout 20
}
info {
port 3003
}
}
namespace testdata {
replication-factor 3
memory-size <%=os.getenv("MEM_USE")%>K
default-ttl 0
storage-engine device {
file /storage/data/testdata.dat
filesize 5T
data-in-memory false
}
}