37 lines
1.4 KiB
Text
37 lines
1.4 KiB
Text
# dvx.conf -- the DVX package server's settings (calog dvxserver.lua -- dvx.conf).
|
|
# Every key without a comment saying otherwise is required.
|
|
|
|
# Where it listens: loopback, behind the reverse proxy that answers for the public name
|
|
bindHost = 127.0.0.1
|
|
bindPort = 18100
|
|
# What the world calls it (links in mail are built from this)
|
|
publicOrigin = http://packages.dvx.example
|
|
|
|
# Its files: the database, the stored packages (dataDir/blobs), and uploads arriving (dataDir/work)
|
|
dataDir = ./data
|
|
database = ./data/dvx.db
|
|
|
|
# Password hashing work (PBKDF2 iterations)
|
|
pbkdf2Iterations = 200000
|
|
|
|
# The package tool (dvxpkg from a DVX build: bin/host/dvxpkg) and the repository's PUBLIC key
|
|
# (REPO.KEY): approvals carry a signature made with its secret key on the operator's own computer,
|
|
# and are checked against this. The secret key never comes near the server.
|
|
dvxpkg = ../bin/host/dvxpkg
|
|
repoKey = ./REPO.KEY
|
|
|
|
# Connections served at once (a DOS machine downloads slowly; more wait their turn), and the
|
|
# largest upload
|
|
serveContexts = 4
|
|
uploadMax = 67108864
|
|
|
|
# The operator console's token (tools/review.lua uses it); empty: only administrators' sessions
|
|
adminToken =
|
|
|
|
# Mail: the sender, and the relay (empty smtpHost: mail waits in the queue)
|
|
mailFrom = DVX Packages <packages@dvx.example>
|
|
smtpHost =
|
|
smtpPort = 587
|
|
smtpTls = starttls
|
|
smtpUser =
|
|
smtpPassword =
|