sncf/config.toml.sample

34 lines
1006 B
Plaintext

# The address and port sncf will listen
listening_address = "0.0.0.0"
listening_port = 8000
# Public-facing domain for sncf.
# includes protocol, FQDN and port, without the trailing slash.
sncf_url = "http://localhost:8000"
# SQLite: path to the SQLite DB
# PostgreSQL: postgres://user:password@address:port/database
# MySQL: mysql://user:password@address:port/database
database_path = ""
# IP address of the Nextcloud instance, including protocol and port
nextcloud_url = "http://10.0.0.0"
# Nextcloud admin account credentials
admin_username = "adminusername"
admin_password = "adminverylongandsecurepassword"
# How many days of inactivity for an admin token before deleting NC accounts
prune_days = 150
# Displays route names and a lot of information
debug_mode = true
# Used to encrypt csrf tokens and csrf cookies.
# Generate random bytes: openssl rand -base64 32
# Then paste the result in this variable
cookie_key = ""
# Don't touch this unless you know what you're doing
config_version = 2