{
    "production": {
        "sessionSecret": "{{ vault_hedgedoc_session_secret }}",
        "email": false,
        "domain": "{{ hedgedoc_domain }}",
        "loglevel": "info",
        "protocolUseSSL": true,
        "allowAnonymous": false,
        "allowAnonymousEdits": true,
        "sessionLife": {{ 30 * 24 * 60 * 60 * 1000 }},
        "defaultPermission": "limited",
        "uploadsPath": "/var/lib/hedgedoc/uploads",
        "hsts": {
            "enable": true,
            "maxAgeSeconds": 31536000,
            "includeSubdomains": true,
            "preload": true
        },
        "csp": {
            "enable": true,
            "directives": {},
            "upgradeInsecureRequests": "true",
            "addDefaults": true,
            "addDisqus": false,
            "addGoogleAnalytics": false,
            "allowFraming": false,
            "allowPDFEmbed": false
        },
        "cookiePolicy": "lax",
        "db": {
            "dialect": "postgres",
            "username": "hedgedoc",
            "password": "{{ vault_postgres_users.hedgedoc }}",
            "database": "hedgedoc",
            "host": "localhost",
            "port": "5432"
        },
        "linkifyHeaderStyle": "gfm",
        "oauth2": {
            "clientSecret": "{{ vault_hedgedoc_client_secret }}"
        }
    }
}