Configuration

Environment Variables

During startup, the platform retrieves configuration parameters (such as admin credentials for the web UI) from environment variables specified in the .env file.

Note

It is required to manually create a .env file in the platform root directory, before initiating the platform with docker compose!

For an example configuration, see .env.example:

# SPDX-FileCopyrightText: 2023-2024 Steffen Vogel, OPAL-RT Germany GmbH
# SPDX-License-Identifier: Apache-2.0

# Hostname for named-based reverse proxy
DOMAIN=localhost
# DOMAIN=seguro.eonerc.rwth-aachen.de

# Used for Docker and Store UI admin login
ADMIN_USERNAME=admin
ADMIN_PASSWORD=s3gur0herne

# Please choose a random secret here.
# It will be used for encrypting internal state of
# various components in the platform
#
# Use the following command to generate one:
#   cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
#
SECRET=PLEASE-CHANGE-ME

# Notifications
MAIL_HOST=mail.0l.de
MAIL_USER=seguro@0l.de
#MAIL_PASS=
MAIL_FROM="SEGuro Platform <seguro@0l.de>"

ZULIP_BOTNAME=seguro-bot
ZULIP_ORGANIZATION=ezulip.eonerc.rwth-aachen.de
#ZULIP_TOKEN=
ZULIP_RECIPIENT=SEGuRo