-
-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add recipe for watchtower-symfony-bundle v2
- Loading branch information
Showing
10 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
wedrix/watchtower-bundle/2.0/config/packages/wedrix_watchtower_bundle.yaml
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,18 @@ | ||
wedrix_watchtower: | ||
endpoint: '/graphql.json' | ||
schema_file: '%kernel.project_dir%/config/watchtower/schema.graphql' | ||
plugins_directory: '%kernel.project_dir%/config/watchtower/plugins' | ||
scalar_type_definitions_directory: '%kernel.project_dir%/config/watchtower/scalar_type_definitions' | ||
cache_directory: '%kernel.project_dir%/var/cache/watchtower' | ||
optimize: false | ||
debug: true | ||
context: | ||
# Register services here to access them in the context param. | ||
# The service key can be any name of your choosing but the value should be the service id. | ||
# For example: entity_manager: 'doctrine.orm.entity_manager' | ||
entity_manager: 'doctrine.orm.entity_manager' | ||
|
||
when@prod: | ||
wedrix_watchtower: | ||
optimize: true | ||
debug: false |
2 changes: 2 additions & 0 deletions
2
wedrix/watchtower-bundle/2.0/config/routes/wedrix_watchtower_bundle_routes.yaml
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,2 @@ | ||
wedrix_watchtower_bundle_routes: | ||
resource: '@WedrixWatchtowerBundle/config/routes.yaml' |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
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 @@ | ||
{ | ||
"bundles": { | ||
"Wedrix\\WatchtowerBundle\\WedrixWatchtowerBundle": ["all"] | ||
}, | ||
"copy-from-recipe": { | ||
"config/": "%CONFIG_DIR%/" | ||
} | ||
} |