diff options
Diffstat (limited to 'ci/build.env')
-rw-r--r-- | ci/build.env | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/ci/build.env b/ci/build.env new file mode 100644 index 0000000..b0933f0 --- /dev/null +++ b/ci/build.env @@ -0,0 +1,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=
\ No newline at end of file |