-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy path.env-defaults
More file actions
46 lines (35 loc) · 1.62 KB
/
.env-defaults
File metadata and controls
46 lines (35 loc) · 1.62 KB
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
# Container entrypoints will run database migrations if set to "true"
DATABASE_MIGRATION=true
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG=True
# SECURITY WARNING: enable two factor authentication in production!
TWOFACTOR_ENABLED=False
# --- Endpoints --- #
OCTOPOES_API=http://octopoes_api:80
SCHEDULER_API=http://scheduler:8000
KATALOGUS_API=http://katalogus:8000
XTDB_URI=http://crux:3000
BOEFJES_API=http://boefje:8000
# Bytes uses JWT for authentication
BYTES_API=http://bytes:8000
# CVE API - defaults to public instance, works out-of-the-box.
# For a local instance: COMPOSE_PROFILES=cveapi make kat
# and override with BOEFJE_CVEAPI_URL=http://cveapi:8080/v1 in .env
# See docs/source/installation-and-deployment/cveapi.rst
# The BOEFJE_ prefix is stripped by get_environment_settings() and passed
# to both local and containerized boefjes as CVEAPI_URL.
BOEFJE_CVEAPI_URL=https://cveapi.librekat.nl/v1
# Turn deduplication on by default
BOEFJES_DEDUPLICATE=true
# --- Rocky --- #
DJANGO_SUPERUSER_EMAIL=superuser@localhost
DJANGO_SUPERUSER_FULL_NAME="KAT Superuser"
# https://docs.openkat.nl/installation_and_deployment/hardening.html#django-allowed-hosts
DJANGO_ALLOWED_HOSTS=127.0.0.1,localhost
# https://docs.openkat.nl/installation_and_deployment/hardening.html#django-csrf-trusted-origins
DJANGO_CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1
# This allows running pytest inside the container
ROCKY_DB_USER_CREATEDB=CREATEDB
# This is normally False when DEBUG is true, but we override that in settings.py
# so it possible to set DEBUG to True in production like environments.
COMPRESS_ENABLED=False