-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
225 additions
and
160 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,15 +21,15 @@ APP_SECRET=ThisTokenIsNotSoSecretChangeIt | |
###< symfony/framework-bundle ### | ||
|
||
###> symfony/mailer ### | ||
# MAILER_DSN=smtp://localhost | ||
# MAILER_DSN=null://null | ||
###< symfony/mailer ### | ||
|
||
###> doctrine/doctrine-bundle ### | ||
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url | ||
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml | ||
# | ||
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" | ||
# DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7" | ||
# DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7&charset=utf8mb4" | ||
DATABASE_URL="postgresql://symfony:[email protected]:5432/app?serverVersion=13&charset=utf8" | ||
###< doctrine/doctrine-bundle ### | ||
|
||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
when@dev: | ||
debug: | ||
# Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser. | ||
# See the "server:dump" command to start a new server. | ||
dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
monolog: | ||
channels: | ||
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists | ||
|
||
when@dev: | ||
monolog: | ||
handlers: | ||
main: | ||
type: stream | ||
path: "%kernel.logs_dir%/%kernel.environment%.log" | ||
level: debug | ||
channels: ["!event", "!doctrine"] | ||
# uncomment to get logging in your browser | ||
# you may have to allow bigger header sizes in your Web server configuration | ||
#firephp: | ||
# type: firephp | ||
# level: info | ||
#chromephp: | ||
# type: chromephp | ||
# level: info | ||
console: | ||
type: console | ||
process_psr_3_messages: false | ||
channels: ["!event", "!doctrine", "!console"] | ||
|
||
when@test: | ||
monolog: | ||
handlers: | ||
main: | ||
type: fingers_crossed | ||
action_level: error | ||
handler: nested | ||
excluded_http_codes: [404, 405] | ||
channels: ["!event"] | ||
nested: | ||
type: stream | ||
path: "%kernel.logs_dir%/%kernel.environment%.log" | ||
level: debug | ||
|
||
when@prod: | ||
monolog: | ||
handlers: | ||
main: | ||
type: fingers_crossed | ||
action_level: error | ||
handler: nested | ||
excluded_http_codes: [404, 405] | ||
buffer_size: 50 # How many messages should be saved? Prevent memory leaks | ||
nested: | ||
type: stream | ||
path: "%kernel.logs_dir%/%kernel.environment%.log" | ||
level: debug | ||
formatter: monolog.formatter.json | ||
console: | ||
type: console | ||
process_psr_3_messages: false | ||
channels: ["!event", "!doctrine"] | ||
deprecation: | ||
type: stream | ||
channels: [deprecation] | ||
path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
when@dev: | ||
web_profiler: | ||
toolbar: true | ||
intercept_redirects: false | ||
# By default disable showing of Admin UI "notifications/count" in web debug toolbar AJAX calls list to make it more manageable. | ||
excluded_ajax_paths: '(^/(app(_[\\w]+)?\\.php/)?_wdt)|/notifications/count' | ||
|
||
framework: | ||
profiler: | ||
only_exceptions: false | ||
# Optional: Skips generating profiles for subrequests by default due to dev performance | ||
only_main_requests: true | ||
|
||
when@test: | ||
web_profiler: | ||
toolbar: false | ||
intercept_redirects: false | ||
|
||
framework: | ||
profiler: { collect: false } |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
when@dev: | ||
web_profiler_wdt: | ||
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml' | ||
prefix: /_wdt | ||
|
||
web_profiler_profiler: | ||
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml' | ||
prefix: /_profiler |
This file contains 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
Oops, something went wrong.