# Configuration for the OpenCloud service (/etc/init.d/opencloud).
# Uncomment and edit any of the values below to override the defaults.

# User / group the service runs as.
#opencloud_user="opencloud"
#opencloud_group="opencloud"

# Where OpenCloud keeps its configuration and persistent data.
#opencloud_config_dir="/etc/opencloud"
#opencloud_data_dir="/var/lib/opencloud"

# Log file (its parent directory is created automatically) and log level
# (one of: error, warn, info, debug).
#opencloud_logfile="/var/log/opencloud/opencloud.log"
#opencloud_log_level="info"

# Bare-metal/single-node installs use self-signed certificates between the
# internal services. Keep "true" for a single host. Set "false" only if you
# provision valid certificates for every internal service.
#opencloud_insecure="true"

# Initial admin password. Only used the very first time, before
# opencloud.yaml exists. If left empty, a random password is generated on
# first start and written to opencloud.yaml (and noted in the service log).
#opencloud_admin_password=""

# Public base URL of the instance, e.g. https://cloud.example.org
# Set this when running behind a reverse proxy that terminates TLS.
#opencloud_url=""

# Reverse-proxy setup.
# By default OpenCloud terminates TLS itself and listens on 0.0.0.0:9200.
# When a reverse proxy (nginx/Apache/lighttpd/Caddy) handles TLS, bind to
# loopback and serve plain HTTP, then point the proxy at http://127.0.0.1:9200
# (and set opencloud_url to the public https URL above):
#opencloud_http_addr="127.0.0.1:9200"   # default: 0.0.0.0:9200
#opencloud_tls="false"                   # default: true (built-in HTTPS)
