· 8 years ago · Jul 30, 2018, 10:50 AM
1redis:
2 host: croqkilos-redis
3
4# Database setup. The driver can be either 'sqlite', 'mysql' or 'postgres'.
5#
6# For SQLite, only the databasename is required. However, MySQL and PostgreSQL
7# also require 'username', 'password', and optionally 'host' ( and 'port' ) if the database
8# server is not on the same host as the web server.
9#
10# If you're trying out Bolt, just keep it set to SQLite for now.
11database:
12 driver: mysql
13 databasename: bolt
14 host: bolt-mysql
15 username: root
16 password: root
17
18# The name of the website
19sitename: Croq'Kilos
20payoff: le programme minceur tendance - Croquez-le à pleines dents
21
22# The theme to use. Be sure to copy the {theme_path}/base-2016 folder, and
23# change the name here accordingly.
24#
25# Don't edit the templates in theme/base-2016, because they _will_ get updated
26# in next releases
27theme: base-2016
28
29# The locale that'll be used by the application. If no locale is set the
30# fallback locale is 'en_GB'. For available options, see:
31# https://docs.bolt.cm/other/locales
32#
33# In some cases it may be needed to specify (non-standard) variations of the
34# locale to get everything to work as desired.
35#
36# This can be done as [nl_NL, Dutch_Netherlands] when specifying multiple
37# locales, ensure the first is a standard locale.
38locale: fr_FR
39
40# Set the timezone to be used on the website. For a list of valid timezone
41# settings, see: http://php.net/manual/en/timezones.php
42# timezone: UTC
43
44# Set maintenance mode on or off.
45#
46# While in maintenance mode, only users of level editor or higher can access the
47# site.
48#
49# All other visitors are presented with a notice that the site is currently
50# offline.
51#
52# The default template file can be found in /app/theme_defaults/ and overridden
53# with this option using your own theme.
54#
55# Note: If you've changed the filename, and your changes do not show up on the
56# website, be sure to check for a config.ymlfile in your theme's folder.
57# If a template is set there, it will override the setting here.
58maintenance_mode: false
59maintenance_template: maintenance_default.twig
60
61# The hour of the day for the internal cron task scheduler to run daily, weekly,
62# monthly and yearly jobs.
63#
64# Default: 3 (3 am)
65cron_hour: 3
66
67# If your site is reachable under different urls (say, both blog.example.org/
68# as well as example.org/), it's a good idea to set one of these as the
69# canonical, so it's clear which is the primary address of the site.
70#
71# If you include `https://`, it will be included in the canonical urls.
72#canonical: example.org
73
74# Bolt can insert a <link rel="shortcut icon"> for all pages on the site.
75
76# Note: The location given is relative to the currently selected theme. If
77# you want to set the icon yourself, just don't enable the following line.
78#favicon: images/favicon-bolt.ico
79
80# The default content to use for the homepage, and the template to render it
81# with. This can either be a specific record (like `page/1`) or a listing of
82# records (like `entries`). In the chosen 'homepage_template', you will have
83# `record` or `records` at your disposal, depending on the 'homepage' setting.
84#
85# Note: If you've changed the filename, and your changes do not show up on
86# the website, be sure to check for a theme.yml file in your theme's
87# folder. If a template is set there, it will override the setting here.
88homepage: page/19
89homepage_template: index.twig
90
91# The default content for the 404 page. Uses the 'record_template' template by
92# default.
93#
94# Make sure this is set to an existing record, otherwise visitors will get an
95# error-page when the request a non-existing page.
96#
97# Note 1: The record specified in this parameter must be set to 'published'
98# Note 2: If you are logged on, and debug is set to 'true', you will NOT see the
99# 404 page!
100# Note 3: This may also point to a template without a record, eg 'error404.twig'
101notfound: block/404-not-found
102
103# The default template and amount of records to use for listing-pages on the
104# site.
105#
106# Can be overridden for each contenttype and for each record, if it has a
107# 'templateselect' field.
108#
109# Note: If you've changed the filename, and your changes do not show up on the
110# website, be sure to check for a config.yml file in your theme's folder.
111# If a template is set there, it will override the setting here.
112record_template: record.twig
113
114# The default template and amount of records to use for listing-pages on the
115# site.
116#
117# Can be overridden for each contenttype.
118#
119# Note 1: Sorting on TAXONOMY-pages will give unexpected results, if it has a
120# pager.
121# If you need sorting on those, make sure you display all the records on one
122# page.
123#
124# Note 2: If you've changed the filename, and your changes do not show up on the
125# website, be sure to check for a config.yml file in your theme's
126# folder. If a template is set there, it will override the setting here.
127listing_template: listing.twig
128listing_records: 6
129listing_sort: datepublish DESC
130
131# Because of limitations on how the underlying database queries work, there are
132# only two options for sorting on taxonomies. 'ASC' for roughly "oldest first"
133# and 'DESC' for roughly 'newest first'.
134taxonomy_sort: DESC
135
136# Template for showing the search results. If not defined, uses the settings for
137# listing_template and listing_records.
138#
139# Note: If you've changed the filename, and your changes do not show up on the
140# website, be sure to check for a config.yml file in your theme's folder.
141# If a template is set there, it will override the setting here.
142search_results_template: search.twig
143search_results_records: 10
144
145# Add jQuery to the rendered HTML, whether or not it's added by an extension.
146add_jquery: false
147
148# The default amount of records to show on overview pages. Can be overridden
149# for each contenttype.
150recordsperpage: 10
151
152# Settings for caching in parts of Bolt.
153# - config: Caches the parsed .yml files from /app/config. It's updated
154# immediately when one of the files changes on disk. There
155# should be no good reason to turn this off.
156#
157# - templates: Caches rendered templates.
158#
159# - request: Caches rendered pages in the configured HTTP reverse proxy
160# cache, on GET & HEAD requests.
161# By default this is handled by Syfmony HTTP Cache.
162#
163# - duration: The duration (in minutes) for the 'templates' and 'request'
164# options. default is 10 minutes. Note that the duration is set
165# on storing the cache. By lowering this value you will not
166# invalidate currently cached items.
167#
168# - authenticated: Cache 'templates' and 'request' for logged-on users. In most
169# cases you should *NOT* enable this, because it will cause
170# side-effects if the website shows different content to
171# authenticated users.
172#
173# - thumbnails: Caches thumbnail generation.
174#
175# - translations: Caches translation files. It is recommend to leave this
176# enabled. Only if you develop extensions and work with
177# translation files you should turn this off.
178caching:
179 config: true
180 templates: true
181 request: true
182 duration: 10
183 authenticated: false
184 thumbnails: true
185 translations: false
186
187# Set 'enabled' to 'true' to log all content changes in the database.
188#
189# Unless you need to rigorously monitor every change to your site's content, it
190# is recommended to keep this disabled.
191changelog:
192 enabled: false
193
194# Default settings for thumbnails.
195#
196# Quality should be between 0 (horrible, small file) and 100 (best, huge file).
197#
198# cropping: One of either crop, fit, borders, resize.
199# default_thumbnail: The default size of images, when using
200# {{ record.image|thumbnail() }}
201# default_image: The default size of images, when using
202# {{ record.image|image() }}
203# allow_upscale: Determines whether small images will be enlarged to fit
204# the requested dimensions.
205# browser_cache_time: Sets the amount of seconds that the browser will cache
206# images for. Set it to activate browser caching.
207#
208# Note: If you change these values, you might need to clear the cache before
209# they show up.
210thumbnails:
211 default_thumbnail: [ 160, 120 ]
212 default_image: [ 1000, 750 ]
213 quality: 80
214 cropping: crop
215 notfound_image: view/img/default_notfound.png
216 error_image: view/img/default_error.png
217 save_files: false
218 allow_upscale: false
219 exif_orientation: true
220 only_aliases: false
221# browser_cache_time: 2592000
222
223# Define the HTML tags and attributes that are allowed in 'cleaned' HTML. This
224# is used for sanitizing HTML, to make sure there are no undesirable elements
225# left in the content that is shown to users. For example, tags like `<script>`
226# or `onclick`-attributes.
227htmlcleaner:
228 allowed_tags: [ div, span, p, br, hr, s, u, strong, em, i, b, li, ul, ol, mark, blockquote, pre, code, tt, h1, h2, h3, h4, h5, h6, dd, dl, dh, table, tbody, thead, tfoot, th, td, tr, a, img, address, abbr, iframe, caption ]
229 allowed_attributes: [ id, class, style, name, value, href, src, alt, title, width, height, frameborder, allowfullscreen, scrolling, target, colspan, rowspan ]
230
231# Uploaded file handling
232#
233# You can change the pattern match and replacement on uploaded files and if the
234# resulting filename should be transformed to lower case.
235# upload:
236# pattern: '[^A-Za-z0-9\.]+'
237# replacement: '-'
238# lowercase: true
239
240# Define the file types (extensions to be exact) that are acceptable for upload
241# in either 'file' fields or through the 'files' screen.
242accept_file_types: [ twig, html, js, css, scss, gif, jpg, jpeg, png, ico, zip, tgz, txt, md, doc, docx, pdf, epub, xls, xlsx, ppt, pptx, mp3, ogg, wav, m4a, mp4, m4v, ogv, wmv, avi, webm, svg]
243
244# Alternatively, if you wish to limit these, uncomment the following list
245# instead. It just includes file types / extensions that are harder to exploit.
246# accept_file_types: [ gif, jpg, jpeg, png, txt, md, pdf, epub, mp3, svg ]
247
248# If you want to 'brand' the Bolt backend for a client, you can change some key
249# variables here, that determine the name of the backend, and adds a primary
250# support/contact link to the footer. Add a scheme, like `mailto:` or
251# `https://` to the email or URL.
252#
253# Additionally you can change the mount point for the backend, either for
254# convenience or to obscure it from prying eyes.
255#
256# The Bolt backend is accessible as `/bolt/` by default. If you change it here,
257# it will only be accessible through the value set in 'path'.
258# Keep the path simple: lowercase only, no extra slashes or other special
259# characters.
260# branding:
261# name: SuperCMS
262# path: /admin
263# provided_by: [ supercool@example.org, "Supercool Webdesign Co." ]
264# news_source: http://news.example.org
265# news_variable: news
266
267# Show the 'debug' nut in the lower right corner for logged-in user. By default,
268# the debugbar is only shown to logged-in users. Use the 'debug_show_loggedoff'
269# option to show it to all users. You probably do not want to use this in a
270# production environment.
271debug: true
272debug_show_loggedoff: false
273debug_permission_audit_mode: false
274debug_error_level: 8181 # equivalent to E_ALL &~ E_NOTICE &~ E_DEPRECATED &~ E_USER_DEPRECATED &~ E_WARNING
275# debug_error_level: -1 # equivalent to E_ALL
276debug_error_use_symfony: false # When set to true, Symfony Profiler will be used for exception display when possible
277
278# error level when debug is disabled
279production_error_level: 8181 # = E_ALL &~ E_NOTICE &~ E_WARNING &~ E_DEPRECATED &~ E_USER_DEPRECATED
280
281# System debug logging
282# This will enable intensive logging of Silex functions and will be very hard on
283# performance and log file size. The log file will be created in your cache
284# directory.
285#
286# Enable this for short time periods only when diagnosing system issues.
287# The level can be either: DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY
288debuglog:
289 enabled: false
290 filename: bolt-debug.log
291 level: DEBUG
292
293# Use strict variables. This will make Bolt complain if you use {{ foo }},
294# when foo doesn't exist.
295strict_variables: false
296
297# There are several options for giving editors more options to insert images,
298# video, etc in the WYSIWYG areas. But, as you give them more options, that
299# means they also have more ways of breaking the preciously designed layout.
300#
301# By default the most 'dangerous' options are set to 'false'. If you choose to
302# enable them for your editors, please instruct them thoroughly on their
303# responsibility not to break the layout.
304wysiwyg:
305 images: true # Allow users to insert images in the content.
306 anchor: false # Adds a button to create internal anchors to link to.
307 tables: false # Adds a button to insert and modify tables in the content.
308 fontcolor: false # Allow users to mess around with font coloring.
309 align: false # Adds buttons for 'align left', 'align right', etc.
310 subsuper: false # Adds buttons for subscript and superscript, using `<sub>` and `<sup>`.
311 embed: true # Allows the user to insert embedded video's from Youtube, Vimeo, etc.
312 underline: false # Adds a button to underline text, using the `<u>`-tag.
313 ruler: false # Adds a button to add a horizontal ruler, using the `<hr>`-tag.
314 strike: false # Adds a button to add stikethrough, using the `<s>`-tag.
315 blockquote: true # Allows the user to insert blockquotes using the `<blockquote>`-tag.
316 codesnippet: false # Allows the user to insert code snippets using `<pre><code>`-tags.
317 specialchar: true # Adds a button to insert special chars like '€' or '™'.
318 ck:
319 autoParagraph: true # If set to 'true', any pasted content is wrapped in `<p>`-tags for multiple line-breaks
320 disableNativeSpellChecker: true # If set to 'true' it will stop browsers from underlining spelling mistakes
321 allowNbsp: false # If set to 'false', the editor will strip out ` ` characters. If set to 'true', it will allow them. ¯\_(ツ)_/¯
322
323# Bolt uses the Google maps API for it's geolocation field and Google now
324# requires that it be loaded with an API key on new domains. You can generate
325# a key at https://developers.google.com/maps/documentation/javascript/get-api-key
326# and enter it here to make sure that the geolocation field works.
327# google_api_key:
328
329# Global option to enable/disable the live editor
330liveeditor: false
331
332# Use the 'mailoptions' setting to configure how Bolt sends email: using 'smtp'
333# or PHP's built-in `mail()`-function.
334
335# Note that the latter might _seem_ easier, but it's been disabled by a lot of
336# webhosts, in order to prevent spam from wrongly configured scripts. If you use
337# it, your mail might disappear into a black hole, without producing any errors.
338# Generally speaking, using 'smtp' is the better option, so use that if possible.
339#
340# Protip: If your webhost does not support SMTP, sign up for a (free) Sendgrid
341# account at https://sendgrid.com/free for sending emails reliably.
342
343mailoptions:
344 mailoptions:
345 transport: mindbaz.mailer
346 username: user_MindbazWS_croqkilos
347 password: ZG35ej3q
348 contact_mail: "contact@croq-kilos.com"
349 partners_mail: "partenaires@croq-kilos.com"
350 oxygem_mindbaz.oneshot_campaign_id: 5
351 oxygem_mindbaz.url_oneshot: 'http://webservice.mindbaz.com/oneshotv2.asmx?WSDL'
352 oxygem_mindbaz.url_subscriber: 'http://webservice.mindbaz.com/subscriberv2.asmx?WSDL'
353 oxygem_mindbaz.baseid: 455
354# transport: smtp
355# spool: true
356# host: localhost
357# port: 25
358# username: username
359# password: password
360# encryption: null
361# auth_mode: null
362# senderMail: null
363# senderName: null
364
365# mailoptions:
366# transport: mail
367# spool: false
368
369# Bolt allows some modifications to how 'strict' login sessions are. For every
370# option that is set to true, it becomes harder for a bad-willing person to
371# spoof your login session. However, it also requires you to re-authenticate
372# more often if you change location(ip-address) or your browser has frequent
373# upgrades. Only change these if you know what you're doing, and you're having
374# issues with the default settings.
375#
376# Note: If you change any of these, all current users will automatically be
377# logged off.
378cookies_use_remoteaddr: false
379cookies_use_browseragent: false
380cookies_use_httphost: false
381
382# The length of time a user stays 'logged in'. Change to 0 to end the session
383# when the browser is closed.
384#
385# The default is 1209600 (two weeks, in seconds).
386cookies_lifetime: 1209600
387
388# Set the session cookie to a specific domain. Leave blank, unless you know what
389# you're doing.
390#
391# When set incorrectly, you might not be able to log on at all.
392#
393# If you'd like it to be valid for all subdomains of 'www.example.org', set this
394# to '.example.org'.
395cookies_domain:
396
397# The hash_strength determines the amount of iterations for encrypting
398# passwords.
399#
400# A higher number means a harder to decrypt password, but takes longer to
401# compute. '8' is the minimum, '10' is the default, '12' is better.
402hash_strength: 10
403
404# Bolt sets the `X-Frame-Options` and `Frame-Options` to `SAMEORIGIN` by
405# default, to prevent the web browser from rendering an iframe if origin
406# mismatch (i.e. iframe source refers to a different domain).
407#
408# Setting this to 'false', will prevent the setting of these headers.
409# headers:
410# x_frame_options: true
411
412# Bolt uses market.bolt.cm to fetch it's extensions by default. You can
413# change that URL here.
414#
415# Do not change this, unless you know what you're doing, and understand the
416# associated risks. If you use 'http://market.bolt.cm', Bolt will not use
417# SSL, increasing the risk for a MITM attacks.
418# extensions:
419# site: 'https://market.bolt.cm/'
420# enabled: true
421# composer:
422# minimum-stability: stable # Either 'stable', 'beta', or 'dev'. Setting 'dev' will allow you to install dev-master versions of extensions.
423# prefer-stable: true # Prefer stable releases over development ones
424# prefer-dist: true # Forces installation from package dist even for dev versions.
425# prefer-source: false # Forces installation from package sources when possible, including VCS information.
426# optimize-autoloader: false # Optimize autoloader during autoloader dump.
427# classmap-authoritative: false # Autoload classes from the classmap only. Implicitly enables `optimize-autoloader`.
428
429# Enforcing the use of SSL. If set, all but the front-end pages will enforce an
430# SSL connection (and redirect to HTTPS if you attempt to visit the backend over
431# plain HTTP).
432# enforce_ssl: true
433
434# If configured, Bolt will trust X-Forwarded-XXX headers from the listed IP
435# addresses and ranges when determining whether the current request is
436# 'secure'.
437#
438# This is required to correctly determine the current hostname and protocol
439# (HTTP vs. HTTPS) when running behind some proxy, e.g. a load balancer, cache,
440# or SSL proxy.
441#
442# List the IP addresses or subnets that you know are such proxies.
443#
444# Note: Allowing hosts here that may not be trusted proxies is a security risk.
445# If you do not understand what this does, it is probably best to not
446# touch it.
447# trustProxies:
448# - 127.0.0.1
449# - 10.0.0.0/8
450
451# Theme file path where themes are. They are under /theme in project's root
452# folder by default but can be relocated. This case you should define theme_path
453# accordingly.
454#
455# Make sure the path exists, and be aware that you'll get a new 'theme' folder on any
456# subsequent Bolt update. Changing this setting is not advised.
457# theme_path: theme
458
459# If you want Bolt installation get news through a proxy
460# httpProxy:
461# host: my.proxy.server
462# user: usr
463# password: pwd
464
465# Options for backend user interface
466# backend:
467# news:
468# disable: true # Disable news panel. Defaults to false. "Alerts" will still be shown.
469# stack:
470# disable: true # Disable stack usage. Defaults to false.
471
472oxygem:
473 core:
474 private_site_host: app.croqkilos.local