aboutsummaryrefslogtreecommitdiff
path: root/ci/build.env
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-06-24 16:46:04 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-06-24 16:46:04 -0400
commita355e12201f50d8f52738d225c270042913030e2 (patch)
tree57cc8e43357ae0cf4cdd72e8f43d5da2357c1f22 /ci/build.env
parent86d6ba0c9869f21b2b16728abf4cb20fcf6ed769 (diff)
ci: Consolidate ci configuration
Diffstat (limited to 'ci/build.env')
-rw-r--r--ci/build.env76
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