aboutsummaryrefslogtreecommitdiff
path: root/ci/build.env
blob: b0933f0830686cf54eced201e8aa2a4b3b31ccf4 (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
#   Copyright (C) Vaughn Nugent
#
#   This file contains static variables that are substituded at build time 
#   to the configuration templates for bare-metal packages as a set of default
#   variables. This is so I can use the same template files for container builds 
#   and bare-metal
#

##########
#  _internal_
##########

#default compression lib for bare metal
COMPRESSION_LIB_PATH=lib/vnlib_compress.dll

##########
#  Plugins
##########

DEBUG_PLUGINS=false
MAX_LOGIN_ATTEMPS=10
MAX_BOOKMARKS=5000
REG_TOKEN_DURATION_MIN=360

##########
#  HTTP
##########

#sets the absolute maxium upload size
MAX_CONTENT_LENGTH=5120000

HTTP_TRACE_ON=false
HTTP_DOWNSTREAM_SERVERS=[]

#default ssl dir is ssl/
SSL_JSON={"cert": "ssl/cert.pem", "privkey":"ssl/key.pem"}

#############
# HC VAULT
#############

HC_VAULT_ADDR=
HC_VAULT_TOKEN=
HC_VAULT_TRUST_CERT=false

##########
#  SQL
##########

#default to sqlite as that is whats packaged by default, also use the data/ directory
SQL_LIB_PATH=VNLib.Plugins.Extensions.Sql.SQLite.dll
SQL_CONNECTION_STRING=Data Source=data/simple-bookmark.db;

##############
#   CACHE
##############

CACHE_ASM_PATH=VNLib.Data.Caching.Providers.VNCache.dll
REDIS_CONNECTION_STRING=
VNCACHE_INITIAL_NODES=[]

#for self contained apps, memcache needs to be true
MEMCACHE_ONLY=true

############
#  SECRETS
############

PASSWORD_PEPPER=file://secrets/password-pepper.txt 
DATABASE_PASSWORD=
REDIS_PASSWORD=

#no cache, so clear vars
VNCACHE_CLIENT_PRIVATE_KEY=
VNCACHE_CACHE_PUBLIC_KEY=