mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
add patchlevel event-sourcing 2.0 receipe (#1421)
This commit is contained in:
+3
@@ -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)%'
|
||||||
@@ -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