module App
Defined in:
constants.crConstant Summary
-
COOKIE_SESSION_KEY =
ENV["COOKIE_SESSION_KEY"]? || "_staff_api_"
-
COOKIE_SESSION_SECRET =
ENV["COOKIE_SESSION_SECRET"]? || "4f74c0b358d5bab4000dd3c75465dc2c"
-
DEFAULT_HOST =
ENV["SG_SERVER_HOST"]? || "127.0.0.1"
-
DEFAULT_PORT =
(ENV["SG_SERVER_PORT"]? || 3000).to_i
-
DEFAULT_PROCESS_COUNT =
(ENV["SG_PROCESS_COUNT"]? || 1).to_i
-
DIR_SERVICE_ACCT =
!DIR_SERVICE_USER.empty?
-
DIR_SERVICE_CLIENT_ID =
ENV["DIR_SERVICE_CLIENT_ID"]? || ""
-
DIR_SERVICE_PASS =
ENV["DIR_SERVICE_PASS"]? || ""
-
DIR_SERVICE_SECRET =
ENV["DIR_SERVICE_SECRET"]? || ""
-
DIR_SERVICE_USER =
ENV["DIR_SERVICE_USER"]?.presence || ""
-
DIR_VIEW_TYPE =
ENV["DIR_VIEW_TYPE"]? || "admin_view"
-
ENVIRONMENT =
ENV["SG_ENV"]? || "development"
-
Log =
::Log.for(NAME)
-
LOG_BACKEND =
ActionController.default_backend
-
NAME =
"StaffAPI"
-
PG_DATABASE_URL =
ENV["PG_DATABASE_URL"]
-
PLACE_URI =
ENV["PLACE_URI"]
-
PRODUCTION =
ENVIRONMENT == "production"
-
SSL_VERIFY_NONE =
ENV["SSL_VERIFY_NONE"]? || false
-
Not for production use Map the custom certificates into the container
-
VERSION =
{{ (`shards version \"/srv/crystaldoc.info/github-place-labs-google-staff-api-master/src\"`).chomp.stringify.downcase }}