Created
July 10, 2015 19:46
-
-
Save royopa/d6bad522b6ead790c37f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imports: | |
- { resource: parameters.yml } | |
- { resource: security.yml } | |
- { resource: 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: pt_BR | |
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'] | |
#assets_version: SomeVersionScheme | |
default_locale: "%locale%" | |
trusted_hosts: ~ | |
trusted_proxies: ~ | |
session: | |
handler_id: ~ | |
fragments: ~ | |
http_method_override: true | |
# Twig Configuration | |
twig: | |
debug: "%kernel.debug%" | |
strict_variables: "%kernel.debug%" | |
# Assetic Configuration | |
assetic: | |
debug: "%kernel.debug%" | |
use_controller: false | |
bundles: [ ] | |
filters: | |
cssrewrite: ~ | |
# Doctrine Configuration | |
doctrine: | |
dbal: | |
driver: pdo_pgsql | |
host: "%database_host%" | |
port: "%database_port%" | |
dbname: "%database_name%" | |
user: "%database_user%" | |
password: "%database_password%" | |
charset: UTF8 | |
orm: | |
auto_generate_proxy_classes: "%kernel.debug%" | |
naming_strategy: doctrine.orm.naming_strategy.underscore | |
auto_mapping: true | |
# Swiftmailer Configuration | |
swiftmailer: | |
transport: "%mailer_transport%" | |
host: "%mailer_host%" | |
username: "%mailer_user%" | |
password: "%mailer_password%" | |
spool: { type: memory } | |
# FosUser Configuration | |
fos_user: | |
db_driver: orm | |
firewall_name: main | |
user_class: AppBundle\Entity\User | |
# Sonata | |
sonata_block: | |
default_contexts: [cms] | |
blocks: | |
# Enable the SonataAdminBundle block | |
sonata.admin.block.admin_list: | |
contexts: [admin] | |
# Your other blocks | |
sonata_admin: | |
title: SICDE | |
title_logo: bundles/app/images/logo_caixa.png | |
sonata_intl: | |
timezone: | |
default: America/Sao_Paulo | |
fs_solr: | |
endpoints: | |
core1: | |
host: 10.4.2.103 | |
port: 8983 | |
path: /solr | |
core: gettingstarted_shard1_replica2 | |
timeout: 5 | |
core2: | |
host: 10.4.2.103 | |
port: 8983 | |
path: /solr | |
core: gettingstarted_shard2_replica2 | |
timeout: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment