Private
Public Access
1
0
Files
MineSeeker/app/config/config.yml

108 lines
3.5 KiB
YAML
Raw Normal View History

imports:
- { resource: security.yml }
- { resource: services.yml }
- { resource: "@JotunheimrAdminBundle/Resources/config/config.yml" }
- { resource: "@JotunheimrUserBundle/Resources/config/config.yml" }
- { resource: "@MineSeekerBundle/Resources/config/config.yml" }
- { resource: "@MineSeekerBundle/Resources/config/services.yml" }
# Put parameters here that don't need to change on each machine where the app is deployed
# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: en
framework:
#esi: ~
translator: { fallbacks: ["%locale%"] }
secret: "%secret%"
router:
resource: "%kernel.root_dir%/config/routing.yml"
strict_requirements: ~
form: ~
csrf_protection: ~
validation: { enable_annotations: true }
#serializer: { enable_annotations: true }
templating:
engines: ['twig']
default_locale: "%locale%"
trusted_hosts: ~
trusted_proxies: ~
session:
# http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
# handler_id: session.handler.native_file
# save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
handler_id: session.handler.pdo
fragments: ~
http_method_override: true
assets: ~
# Twig Configuration
twig:
debug: "%kernel.debug%"
strict_variables: "%kernel.debug%"
globals:
2017-01-29 18:04:58 +01:00
version: "0.42.21 (beta8)"
facebook_api: "%facebook.api%"
facebook_scope: "%facebook.scope%"
facebook_api_version: "%facebook.version%"
# Doctrine Configuration
doctrine:
dbal:
driver: pdo_mysql
host: "%database_host%"
port: "%database_port%"
dbname: "%database_name%"
user: "%database_user%"
password: "%database_password%"
charset: UTF8
# if using pdo_sqlite as your database driver:
# 1. add the path in parameters.yml
# e.g. database_path: "%kernel.root_dir%/data/data.db3"
# 2. Uncomment database_path in parameters.yml.dist
# 3. Uncomment next line:
# path: "%database_path%"
orm:
auto_generate_proxy_classes: "%kernel.debug%"
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
# Assetic Configuration
assetic:
debug: "%kernel.debug%"
use_controller: "%kernel.debug%"
bundles: ~
2016-12-14 15:50:48 +01:00
node: /usr/bin/nodejs
filters:
cssrewrite: ~
2016-11-21 13:45:28 +01:00
uglifyjs2:
bin: "%kernel.root_dir%/../node_modules/uglify-js/bin/uglifyjs"
no_copyright: true
uglifycss:
bin: "%kernel.root_dir%/../node_modules/uglifycss/uglifycss"
# FOS User Configuration
fos_user:
db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
firewall_name: secured_area
user_class: Jotunheimr\UserBundle\Entity\User
# Facebook OAuth
hwi_oauth:
firewall_names: [secured_area]
resource_owners:
facebook:
type: facebook
client_id: "%facebook.api%"
client_secret: "%facebook.api-secret%"
scope: "%facebook.scope%"
options:
display: popup
auth_type: rerequest
csrf: true
2016-12-14 15:50:48 +01:00
# Slack integration
cl_slack:
2016-12-14 15:50:48 +01:00
api_token: xoxp-107639806167-107029084564-115427085733-cccaa4f96c89c87ce680c7f22acfd001