# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

SP_DOCKER_REGISTRY=apachestreampipes
SP_VERSION=0.97.0
SP_SUBNET=172.31.0.0/16
COMPOSE_PROJECT_NAME=streampipes

# -------------------------------------------------------------
#
# OPTIONAL environment variables to configure system on startup
#
# -------------------------------------------------------------

# Configuration to set prioritized protocol in backend service
# needs to be changed in case one of the 'nats' or 'minimal' options is selected
# options: kafka, mqtt, jms, nats, pulsar
# default: kafka
SP_PRIORITIZED_PROTOCOL=kafka

# Configuration to set MQTT host in backend service
#
# default: activemq
#SP_MQTT_HOST=mosquitto


# For database migration in v0.91.0 - set init mode to 'upgrade' to migrate an existing installation
SP_INFLUX_INIT_MODE=setup
#SP_INFLUX_INIT_MODE=upgrade

# Monitoring
# set to true if you want StreamPipes to expose Prometheus metrics
#SP_SETUP_PROMETHEUS_ENDPOINT=true
SP_SETUP_PROMETHEUS_ENDPOINT=false
