2014-01-22 23:11:26 +00:00
|
|
|
# MySQL server details
|
|
|
|
# server: domain or IP of MySQL server
|
|
|
|
# database: a MySQL database that the user specified has read/write access to
|
|
|
|
# user: username to authenticate as
|
|
|
|
# password: password for user
|
|
|
|
mysql:
|
|
|
|
server: 'localhost'
|
|
|
|
database: 'cytube3'
|
|
|
|
user: 'cytube3'
|
2014-01-26 06:01:36 +00:00
|
|
|
password: ''
|
2014-01-22 23:11:26 +00:00
|
|
|
|
|
|
|
# HTTP server details
|
|
|
|
http:
|
2014-01-26 06:01:36 +00:00
|
|
|
# If you want to bind a specific IP, put it here, otherwise leave empty
|
2014-01-22 23:11:26 +00:00
|
|
|
host: ''
|
|
|
|
port: 8080
|
|
|
|
domain: 'http://localhost'
|
2014-02-04 17:32:52 +00:00
|
|
|
# Use express-minify to minify CSS and Javascript
|
|
|
|
minify: false
|
2014-01-22 23:11:26 +00:00
|
|
|
|
|
|
|
# HTTPS server details
|
|
|
|
https:
|
|
|
|
enabled: false
|
|
|
|
port: 8443
|
|
|
|
domain: 'https://localhost'
|
|
|
|
keyfile: 'localhost.key'
|
|
|
|
passphrase: ''
|
|
|
|
certfile: 'localhost.cert'
|
|
|
|
|
2014-01-25 19:55:00 +00:00
|
|
|
# Page template values
|
2014-01-26 06:01:36 +00:00
|
|
|
# title goes in the upper left corner, description goes in a <meta> tag
|
2014-01-25 19:55:00 +00:00
|
|
|
html-template:
|
|
|
|
title: 'CyTube',
|
|
|
|
description: 'Free, open source synchtube'
|
|
|
|
|
2014-01-22 23:11:26 +00:00
|
|
|
# Socket.IO server details
|
|
|
|
io:
|
|
|
|
port: 1337
|
|
|
|
# limit the number of concurrent socket connections per IP address
|
|
|
|
ip-connection-limit: 10
|
|
|
|
|
|
|
|
# Mailer details (used for sending password reset links)
|
|
|
|
# see https://github.com/andris9/Nodemailer
|
|
|
|
mail:
|
|
|
|
enabled: false
|
|
|
|
transport: 'SMTP'
|
|
|
|
config:
|
|
|
|
service: 'Gmail'
|
|
|
|
auth:
|
|
|
|
user: 'some.user@gmail.com'
|
|
|
|
password: 'supersecretpassword'
|
|
|
|
from-address: 'some.user@gmail.com'
|
|
|
|
|
|
|
|
# GData API v2 developer key (for non-anonymous youtube requests)
|
|
|
|
youtube-v2-key: ''
|
|
|
|
# Minutes between saving channel state to disk
|
|
|
|
channel-save-interval: 5
|
2014-02-06 16:37:00 +00:00
|
|
|
# Limit for the number of channels a user can register
|
|
|
|
max-channels-per-user: 5
|
2014-02-10 01:52:24 +00:00
|
|
|
# Limit for the number of accounts an IP address can register
|
|
|
|
max-accounts-per-ip: 5
|
2014-01-22 23:11:26 +00:00
|
|
|
# Minimum number of seconds between guest logins from the same IP
|
|
|
|
guest-login-delay: 60
|
|
|
|
# Block known Tor IP addresses
|
|
|
|
enable-tor-blocker: true
|
|
|
|
|
|
|
|
# Configure statistics tracking
|
|
|
|
stats:
|
|
|
|
# Interval (in milliseconds) between data points - default 1h
|
|
|
|
interval: 3600000
|
|
|
|
# Maximum age of a datapoint (ms) before it is deleted - default 24h
|
|
|
|
max-age: 86400000
|
|
|
|
|
|
|
|
# Configure periodic clearing of old alias data
|
|
|
|
aliases:
|
|
|
|
# Interval (in milliseconds) between subsequent runs of clearing
|
|
|
|
purge-interval: 3600000
|
|
|
|
# Maximum age of an alias (in milliseconds) - default 1 month
|
|
|
|
max-age: 2592000000
|
2014-02-03 02:04:50 +00:00
|
|
|
|
|
|
|
# Workaround for Vimeo blocking my domain
|
|
|
|
vimeo-workaround: false
|
2014-02-06 00:05:52 +00:00
|
|
|
|
|
|
|
# Regular expressions for defining reserved user and channel names and page titles
|
|
|
|
# The list of regular expressions will be joined with an OR, and compared without
|
|
|
|
# case sensitivity.
|
|
|
|
#
|
|
|
|
# Default: reserve any name containing "admin[istrator]" or "owner" as a word
|
|
|
|
# but only if it is separated by a dash or underscore (e.g. dadmin is not reserved
|
|
|
|
# but d-admin is)
|
|
|
|
reserved-names:
|
|
|
|
usernames:
|
|
|
|
- '^(.*?[-_])?admin(istrator)?([-_].*)?$'
|
|
|
|
- '^(.*?[-_])?owner([-_].*)?$'
|
|
|
|
channels:
|
|
|
|
- '^(.*?[-_])?admin(istrator)?([-_].*)?$'
|
|
|
|
- '^(.*?[-_])?owner([-_].*)?$'
|
|
|
|
pagetitles: []
|
2014-02-14 00:15:22 +00:00
|
|
|
|
|
|
|
# Provide a contact list for the /contact page
|
|
|
|
contacts:
|
|
|
|
- name: 'calzoneman'
|
|
|
|
title: 'Developer'
|
|
|
|
email: 'cyzon@cytu.be'
|