port: 3000
host: localhost
domain: example.com
base_url: http://localhost:3000
# support_contact: mailto:support@example.com

#################################################
# Database Configuration                        #
#################################################

db:
  logging: false
  ## The database type: sqlite|postgres
  type: sqlite
  
  ### SQLite options

  ## The database filename. Relative to $FLOWFORGE_HOME/var/
  ## Set to ':memory:' for a database that is wiped on restart
  storage: forge.db

  ### Postgres options

  # host: localhost
  # user: forge
  # password: secret

#################################################
# Project Driver Configuration                  #
#################################################

driver:
  ## The type of backend driver to use
  ##  Can be: localfs/docker/stub/kubernetes
  type: localfs

  options:
    ## Options to be passed to the driver

    ### LocalFS options

    ## The first port number to assign to projects
    # start_port: 12080

    ## Path to find node executable if not on the default path
    # node_path: /usr/bin/node

    ### Docker options

    ## Docker socket path
    # socket: /var/run/docker.sock

    ### K8S options

    ## Kubectl conf file to contact the cluster
    # config_file: /opt/share/projects/flowforge/test/config


#################################################
# MQTT Broker Configuration                     #
#################################################

# broker:
  ## Internal url used by the platform to connect to the broker
  # url: mqtt://localhost:4880
  ## External url used by devices to connect to the broker, if different
  # public_url: ws://localhost:4881


#################################################
# File Server config                            #
#################################################

# fileStore:
#   url: http://localhost:3001


#################################################
# Email Configuration                           #
#################################################

email:
  enabled: false
  debug: false
  smtp:
    host: localhost
    port: 587
    secure: false
    #auth:
    #    user: username
    #    pass: password

#################################################
# Telemetry Configuration                       #
#################################################
telemetry:
  enabled: true

#################################################
# Route Rate Limits                             #
#################################################
rate_limits:
  enabled: false
  # global: true
  # timeWindow: 60000
  # max: 1000
  # maxAnonymous: 100 # optional (defaults to value of max if not set)
 
#################################################
# Create Default Admin                          #
#################################################
# create_admin: false
