Update staticdirect stuff so it can handle "domains" of staticdirection
[mediagoblin.git] / mediagoblin / config_spec.ini
... / ...
CommitLineData
1[mediagoblin]
2# HTML title of the pages
3html_title = string(default="GNU MediaGoblin")
4
5# link to source for this MediaGoblin site
6source_link = string(default="https://gitorious.org/mediagoblin/mediagoblin")
7
8# Enabled media types
9media_types = string_list(default=list("mediagoblin.media_types.image"))
10
11# database stuff
12db_host = string()
13db_name = string(default="mediagoblin")
14db_port = integer()
15sql_engine = string(default="sqlite:///%(here)s/mediagoblin.db")
16
17# Where temporary files used in processing and etc are kept
18workbench_path = string(default="%(here)s/user_dev/media/workbench")
19
20# Where mediagoblin-builtin static assets are kept
21direct_remote_path = string(default="/mgoblin_static/")
22
23# set to false to enable sending notices
24email_debug_mode = boolean(default=True)
25email_sender_address = string(default="notice@mediagoblin.example.org")
26email_smtp_host = string(default='')
27email_smtp_port = integer(default=25)
28email_smtp_user = string(default=None)
29email_smtp_pass = string(default=None)
30
31# Set to false to disable registrations
32allow_registration = boolean(default=True)
33
34# tag parsing
35tags_max_length = integer(default=50)
36
37# Whether comments are ascending or descending
38comments_ascending = boolean(default=True)
39
40# By default not set, but you might want something like:
41# "%(here)s/user_dev/templates/"
42local_templates = string()
43
44# Whether or not celery is set up via an environment variable or
45# something else (and thus mediagoblin should not attempt to set it up
46# itself)
47celery_setup_elsewhere = boolean(default=False)
48
49# Whether or not users are able to upload files of any filetype with
50# their media entries -- This is useful if you want to provide the
51# source files for a media file but can also be a HUGE security risk.
52allow_attachments = boolean(default=False)
53
54# Cookie stuff
55csrf_cookie_name = string(default='mediagoblin_csrftoken')
56
57# Push stuff
58push_urls = string_list(default=list())
59
60exif_visible = boolean(default=False)
61geolocation_map_visible = boolean(default=False)
62
63# Theming stuff
64theme_install_dir = string(default="%(here)s/user_dev/themes/")
65theme = string()
66
67
68[storage:publicstore]
69storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
70base_dir = string(default="%(here)s/user_dev/media/public")
71base_url = string(default="/mgoblin_media/")
72
73[storage:queuestore]
74storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
75base_dir = string(default="%(here)s/user_dev/media/queue")
76
77[media:medium]
78# Dimensions used when creating media display images.
79max_width = integer(default=640)
80max_height = integer(default=640)
81
82[media:thumb]
83# Dimensions used when creating media thumbnails
84# This is unfortunately not implemented in the media
85# types yet. You can help!
86# TODO: Make plugins follow the media size settings
87max_width = integer(default=180)
88max_height = integer(default=180)
89
90[media_type:mediagoblin.media_types.video]
91# Should we keep the original file?
92keep_original = boolean(default=False)
93
94# 0 means autodetect, autodetect means number_of_CPUs - 1
95vp8_threads = integer(default=0)
96# Range: 0..10
97vp8_quality = integer(default=8)
98# Range: -0.1..1
99vorbis_quality = float(default=0.3)
100
101
102[media_type:mediagoblin.media_types.audio]
103keep_original = boolean(default=True)
104# vorbisenc qualiy
105quality = float(default=0.3)
106create_spectrogram = boolean(default=True)
107spectrogram_fft_size = integer(default=4096)
108
109
110[media_type:mediagoblin.media_types.ascii]
111thumbnail_font = string(default=None)
112
113[beaker.cache]
114type = string(default="file")
115data_dir = string(default="%(here)s/user_dev/beaker/cache/data")
116lock_dir = string(default="%(here)s/user_dev/beaker/cache/lock")
117
118
119[celery]
120# default result stuff
121CELERY_RESULT_BACKEND = string(default="database")
122CELERY_RESULT_DBURI = string(default="sqlite:///%(here)s/celery.db")
123
124# default kombu stuff
125BROKER_TRANSPORT = string(default="sqlalchemy")
126BROKER_HOST = string(default="sqlite:///%(here)s/kombu.db")
127
128# known booleans
129CELERY_RESULT_PERSISTENT = boolean()
130CELERY_CREATE_MISSING_QUEUES = boolean()
131BROKER_USE_SSL = boolean()
132BROKER_CONNECTION_RETRY = boolean()
133CELERY_ALWAYS_EAGER = boolean()
134CELERY_EAGER_PROPAGATES_EXCEPTIONS = boolean()
135CELERY_IGNORE_RESULT = boolean()
136CELERY_TRACK_STARTED = boolean()
137CELERY_DISABLE_RATE_LIMITS = boolean()
138CELERY_ACKS_LATE = boolean()
139CELERY_STORE_ERRORS_EVEN_IF_IGNORED = boolean()
140CELERY_SEND_TASK_ERROR_EMAILS = boolean()
141CELERY_SEND_EVENTS = boolean()
142CELERY_SEND_TASK_SENT_EVENT = boolean()
143CELERYD_LOG_COLOR = boolean()
144CELERY_REDIRECT_STDOUTS = boolean()
145
146# known ints
147CELERYD_CONCURRENCY = integer()
148CELERYD_PREFETCH_MULTIPLIER = integer()
149CELERY_AMQP_TASK_RESULT_EXPIRES = integer()
150CELERY_AMQP_TASK_RESULT_CONNECTION_MAX = integer()
151REDIS_PORT = integer()
152REDIS_DB = integer()
153BROKER_PORT = integer()
154BROKER_CONNECTION_TIMEOUT = integer()
155CELERY_BROKER_CONNECTION_MAX_RETRIES = integer()
156CELERY_TASK_RESULT_EXPIRES = integer()
157CELERY_MAX_CACHED_RESULTS = integer()
158CELERY_DEFAULT_RATE_LIMIT = integer()
159CELERYD_MAX_TASKS_PER_CHILD = integer()
160CELERYD_TASK_TIME_LIMIT = integer()
161CELERYD_TASK_SOFT_TIME_LIMIT = integer()
162MAIL_PORT = integer()
163CELERYBEAT_MAX_LOOP_INTERVAL = integer()
164
165# known floats
166CELERYD_ETA_SCHEDULER_PRECISION = float()
167
168# known lists
169CELERY_ROUTES = string_list()
170CELERY_IMPORTS = string_list()