|
|
@ -0,0 +1,77 @@ |
|
|
|
# ArangoDB configuration file |
|
|
|
# |
|
|
|
# Documentation: |
|
|
|
# https://docs.arangodb.com/latest/Manual/Administration/Configuration/ |
|
|
|
# |
|
|
|
|
|
|
|
[database] |
|
|
|
directory = /var/lib/arangodb3 |
|
|
|
|
|
|
|
# maximal-journal-size = 33554432 |
|
|
|
|
|
|
|
[server] |
|
|
|
# Specify the iendpoint for HTTP requests by clients. |
|
|
|
# tcp://ipv4-address:port |
|
|
|
# tcp://[ipv6-address]:port |
|
|
|
# ssl://ipv4-address:port |
|
|
|
# ssl://[ipv6-address]:port |
|
|
|
# unix:///path/to/socket |
|
|
|
# |
|
|
|
# Examples: |
|
|
|
endpoint = tcp://0.0.0.0:8529 |
|
|
|
# endpoint = tcp://171.221.139.17:8529 |
|
|
|
# endpoint = tcp://localhost:8529 |
|
|
|
# endpoint = tcp://myserver.arangodb.com:8529 |
|
|
|
# endpoint = tcp://[::]:8529 |
|
|
|
# endpoint = tcp://[fe80::21a:5df1:aede:98cf]:8529 |
|
|
|
# |
|
|
|
# endpoint = tcp://127.0.0.1:8529 |
|
|
|
storage-engine = rocksdb |
|
|
|
|
|
|
|
# reuse a port on restart or wait until it is freed by the operating system |
|
|
|
# reuse-address = false |
|
|
|
|
|
|
|
authentication = true |
|
|
|
|
|
|
|
# number of maximal server threads. use 0 to make arangod determine the |
|
|
|
# number of threads automatically, based on available CPUs |
|
|
|
# maximal-threads = 0 |
|
|
|
|
|
|
|
# gather server statistics |
|
|
|
statistics = true |
|
|
|
|
|
|
|
# the user and group are normally set in the start script |
|
|
|
# uid = arangodb |
|
|
|
# gid = arangodb |
|
|
|
|
|
|
|
uid = arangodb |
|
|
|
|
|
|
|
|
|
|
|
[javascript] |
|
|
|
startup-directory = /usr/share/arangodb3/js |
|
|
|
app-path = /var/lib/arangodb3-apps |
|
|
|
# app-path = //arangodb3/apps |
|
|
|
|
|
|
|
# number of V8 contexts available for JavaScript execution. use 0 to |
|
|
|
# make arangod determine the number of contexts automatically. |
|
|
|
# v8-contexts = 0 |
|
|
|
|
|
|
|
[foxx] |
|
|
|
# enable Foxx queues in the server |
|
|
|
# queues = true |
|
|
|
|
|
|
|
# interval (seconds) to use for polling jobs in Foxx queues |
|
|
|
# queues-poll-interval = 1 |
|
|
|
|
|
|
|
[log] |
|
|
|
level = info |
|
|
|
file = /var/log/arangodb3/arangod.log |
|
|
|
|
|
|
|
[cluster] |
|
|
|
|
|
|
|
[rocksdb] |
|
|
|
# encryption-keyfile=/your-encryption-file |
|
|
|
# |
|
|
|
[http] |
|
|
|
keep-alive-timeout = 5000000 |
|
|
|
hide-product-header = true |