-
Notifications
You must be signed in to change notification settings - Fork 0
/
.site.default.env
48 lines (38 loc) · 2.19 KB
/
.site.default.env
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
# Environment variables for services running in the portal. Instead of changing
# values here copy the file to .site.env, which will then be used by
# `bin/project_usage-compose.py`.
# Exporter
# DEPRECATED, USE USAGE_EXPORTER_START_DATE_ENDPOINT IN STAGING/PRODUCTION.
# You must NOT change this once you started the service in production mode
# since it is passed through to openstack to request the total usages
# since this date. Changing could lead to a lower value than before.
# This value will be ignored if USAGE_EXPORTER_START_DATE_ENDPOINT is set
# USAGE_EXPORTER_START_DATE=2018-12-01
# Interval [seconds] used by the exporter to query OpenStack for usage values
USAGE_EXPORTER_UPDATE_INTERVAL=60
# The frequency of how often the weights should be updated, denotes a multiple of the update interval variable
USAGE_EXPORTER_WEIGHT_UPDATE_FREQUENCY=10
# The rest endpoint where the credit weights can be obtained
# USAGE_EXPORTER_WEIGHTS_UPDATE_ENDPOINT=http://dockerhost:8000/public/creditsweights/
USAGE_EXPORTER_WEIGHTS_UPDATE_ENDPOINT=https://cloud.denbi.de/portal/public/creditsweights/
# The rest endpoint where the standard start date can be obtained
# If set, the date set in USAGE_EXPORTER_START_DATE will be ignored
# USAGE_EXPORTER_START_DATE_ENDPOINT=http://dockerhost:8000/public/startdate/
USAGE_EXPORTER_START_DATE_ENDPOINT=https://cloud.denbi.de/portal/public/startdate/
# If the exporter should log debug.
USAGE_EXPORTER_VERBOSE_MODE=False
# Uncomment the following two lines to be able to monitor simple VM projects
# The if of the openstack project, that hosts the simple vm projects
# USAGE_EXPORTER_SIMPLE_VM_PROJECT_ID=
# The metadata tag of the simple vm project to differentiate between the different simple vm projects
# USAGE_EXPORTER_SIMPLE_VM_PROJECT_TAG=project_name
# Per default only projects of the `elixir` domain are exported.
# Possible values are:
# - Comma seperated list of domains
# - Empty field will export from **all** domains
# USAGE_EXPORTER_PROJECT_DOMAINS=
# If your OpenStack user is not allowed to list all domains (necessary to
# determine the `domain_id` of `elixir`) enter the correct id here
# PROJECT_DOMAINS will be ignored if set
# USAGE_EXPORTER_PROJECT_DOMAIN_ID=xxxx
#