mirror of https://gitee.com/bigwinds/arangodb
67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
Plaintext
# ArangoDB configuration file
|
|
#
|
|
# Documentation:
|
|
# https://docs.arangodb.com/ConfigureArango/
|
|
#
|
|
|
|
[database]
|
|
directory = @LOCALSTATEDIR@/lib/arangodb
|
|
# directory = @HOMEDRIVE@/@HOMEPATH@/arangodb/databases
|
|
|
|
# maximal-journal-size = 33554432
|
|
|
|
[server]
|
|
# Specify the endpoint 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://127.0.0.1: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
|
|
|
|
# resuse a port on restart or wait until it is freed by the operating system
|
|
# reuse-address = false
|
|
|
|
# disable authentication for the admin frontend
|
|
authentication = false
|
|
|
|
# number of server threads, 0 to use them all
|
|
# threads = 4
|
|
|
|
# the user and group are normally set in the start script
|
|
# uid = arangodb
|
|
# gid = arangodb
|
|
|
|
[scheduler]
|
|
|
|
# number of threads used for I/O, 0 will select a sensible number
|
|
# threads = 2
|
|
|
|
[javascript]
|
|
startup-directory = @PKGDATADIR@/js
|
|
app-path = @LOCALSTATEDIR@/lib/arangodb3-apps
|
|
# app-path = @HOMEDRIVE@/@HOMEPATH@/arangodb/apps
|
|
|
|
# number of worker threads for V8
|
|
v8-contexts = 5
|
|
|
|
[log]
|
|
level = info
|
|
file = @LOCALSTATEDIR@/log/arangodb/arangod.log
|
|
|
|
[cluster]
|
|
data-path = @LOCALSTATEDIR@/lib/arangodb3/cluster
|
|
log-path = @LOCALSTATEDIR@/log/arangodb/cluster
|
|
arangod-path = @SBINDIR@/arangod@PROGRAM_SUFFIX@
|
|
dbserver-config = @SYSCONFDIR@/arangod.conf
|
|
coordinator-config = @SYSCONFDIR@/arangod.conf
|