mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
* use latest version of dependency for metadata if best version is unsatisfied * cleanup * add config setting to allow protections around package uploads to specific registries * change to whitelist * properly parse whitelist * enable deleting deprecated admin users
51 lines
2.1 KiB
YAML
51 lines
2.1 KiB
YAML
# Values formatted like "_env:YESOD_ENV_VAR_NAME:default_value" can be overridden by the specified environment variable.
|
|
# See https://github.com/yesodweb/yesod/wiki/Configuration#overriding-configuration-values-with-environment-variables
|
|
|
|
static-dir: "_env:YESOD_STATIC_DIR:static"
|
|
host: "_env:YESOD_HOST:*4" # any IPv4 host
|
|
port: "_env:YESOD_PORT:443" # NB: The port `yesod devel` uses is distinct from this value. Set the `yesod devel` port from the command line.
|
|
ip-from-header: "_env:YESOD_IP_FROM_HEADER:false"
|
|
|
|
# Default behavior: determine the application root from the request headers.
|
|
# Uncomment to set an explicit approot
|
|
#approot: "_env:YESOD_APPROOT:http://localhost:3000"
|
|
|
|
# By default, `yesod devel` runs in development, and built executables use
|
|
# production settings (see below). To override this, use the following:
|
|
#
|
|
# development: false
|
|
|
|
# Optional values with the following production defaults.
|
|
# In development, they default to the inverse.
|
|
#
|
|
detailed-logging: true
|
|
# should-log-all: false
|
|
# reload-templates: false
|
|
# mutable-static: false
|
|
# skip-combining: false
|
|
# auth-dummy-login : false
|
|
|
|
# NB: If you need a numeric value (e.g. 123) to parse as a String, wrap it in single quotes (e.g. "_env:YESOD_PGPASS:'123'")
|
|
# See https://github.com/yesodweb/yesod/wiki/Configuration#parsing-numeric-values-as-strings
|
|
|
|
resources-path: "_env:RESOURCES_PATH:/var/www/html/resources"
|
|
ssl-path: "_env:SSL_PATH:/var/ssl"
|
|
ssl-auto: "_env:SSL_AUTO:true"
|
|
registry-hostname: "_env:REGISTRY_HOSTNAME:alpha-registry-x.start9.com"
|
|
tor-port: "_env:TOR_PORT:447"
|
|
static-bin-dir: "_env:STATIC_BIN:/usr/local/bin/"
|
|
error-log-root: "_env:ERROR_LOG_ROOT:/var/log/registry/"
|
|
marketplace-name: "_env:MARKETPLACE_NAME:CHANGE ME"
|
|
max-eos-version: "_env:MAX_VERSION:0.3.4.0"
|
|
min-eos-version: "_env:MIN_VERSION:0.3.4.0"
|
|
run-migration: "_env:RUN_MIGRATION:false"
|
|
whitelist: "_env:WHITELIST:ADD ME"
|
|
|
|
database:
|
|
database: "_env:PG_DATABASE:start9_registry"
|
|
poolsize: "_env:PG_POOL_SIZE:2"
|
|
user: "_env:PG_USER:user"
|
|
password: "_env:PG_PASSWORD:password"
|
|
host: "_env:PG_HOST:localhost"
|
|
port: "_env:PG_PORT:5432"
|