mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
add patchlevel event-sourcing 2.0 receipe (#1421)
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
patchlevel_event_sourcing:
|
||||
watch_server:
|
||||
enabled: true
|
||||
@@ -0,0 +1,5 @@
|
||||
patchlevel_event_sourcing:
|
||||
aggregates: '%kernel.project_dir%/src'
|
||||
events: '%kernel.project_dir%/src'
|
||||
connection:
|
||||
url: '%env(EVENTSTORE_URL)%'
|
||||
15
patchlevel/event-sourcing-bundle/2.0/manifest.json
Normal file
15
patchlevel/event-sourcing-bundle/2.0/manifest.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Patchlevel\\EventSourcingBundle\\PatchlevelEventSourcingBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#3": "",
|
||||
"#4": "EVENTSTORE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||
"#5": "EVENTSTORE_URL=\"mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"",
|
||||
"EVENTSTORE_URL": "postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&charset=utf8"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user