# Aerospike database configuration file # This template sets up a single-node, single namespace developer environment. # # Alternatively, you can pass in your own configuration file. # You can see more examples at # https://github.com/aerospike/aerospike-server/tree/master/as/etc # This stanza must come first. service { cluster-name docker } logging { # Send log messages to stdout console { context any info } } network { service { address any port 3000 # Uncomment the following to set the 'access-address' parameter to the # IP address of the Docker host. This will the allow the server to correctly # publish the address which applications and other nodes in the cluster to # use when addressing this node. # access-address } heartbeat { # mesh is used for environments that do not support multicast mode mesh address local port 3002 interval 150 timeout 10 } fabric { # Intra-cluster communication port (migrates, replication, etc) # default to same address in 'service' address local port 3001 } } namespace localfile { replication-factor 1 default-ttl 0 nsup-period 120 stop-writes-sys-memory-pct 80 storage-engine device { # For 'storage-engine memory' with 'device' or 'file' backing, we # recommend having multiple devices (eight is recommended). One is used # here for backward compatibility. file /opt/aerospike/data/localfile.dat filesize 512M # read-page-cache true } } # namespace memory { # replication-factor 1 # default-ttl 0 # nsup-period 120 # # memory-size 512M # stop-writes-sys-memory-pct 80 # storage-engine memory { # file /opt/aerospike/data/membackend.dat # filesize 1G # stop-writes-used-pct 70 # } # }