Created
December 27, 2014 09:50
-
-
Save Dynalon/73e566f2550d6b37c932 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is basically JSON but allowes comment lines that | |
# start with the # character. Additionally, keys need not to be | |
# enclosed by quotes. | |
# Besides those exceptions this file MUST be valid JSON or the | |
# program will fail. | |
# Rainy configuration | |
{ | |
# the Url, containing IP address or hostname and port on which to listen | |
# if the wildcard "*" is used, we listen on all addresses | |
# | |
# If https is used, SSL certs will be created | |
# You can also use --cert/--pvk to specify your own generated | |
# certs created by the 'makecert' tool | |
# | |
# Note: The port is not optional but must be present for every url! | |
# | |
ListenUrl: "https://rainy-demoserver.latecrew.de:443/", | |
# the path used for data storage (notes, metadata, ssl certs), | |
# must be writable. | |
# if empty, the current directory is used | |
DataPath: "./data/", | |
# Use server-side encryption of the notes | |
UseNoteEncryption: false, | |
# the backend to use, if empty the sqlite backend | |
# is used. | |
# | |
# The sqlite backend writes everything, notes and metadata, | |
# into a single sqlite3 database file. Recommended for | |
# medium sized installations with hundreds of users. | |
Backend: "sqlite", | |
# PostgreSQL backend, use for maximum DB loads | |
#Backend: "postgre", | |
# config for PostgreSQL database | |
Postgre: { | |
Username: "rainy", | |
Password: "rainy", | |
Host: "localhost", | |
Port: 5432 | |
}, | |
# password for the administration web interface | |
AdminPassword: "", | |
# Multi-user configuration | |
# | |
# whether new users can signup | |
AllowSignup: false, | |
# required new signed up users to be activated by an administrator? | |
RequireModeration: true, | |
# Enables development features, only enable if you know what | |
# you are doing! | |
Development: false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment