mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Create Flex endpoint
This commit is contained in:
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/db_name?serverVersion=8\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/db_name?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
"",
|
||||
" # only needed for MySQL",
|
||||
" charset: utf8mb4",
|
||||
" default_table_options:",
|
||||
" collate: utf8mb4_unicode_ci",
|
||||
"",
|
||||
" # backtrace queries in profiler (increases memory usage per request)",
|
||||
" #profiling_collect_backtrace: '%kernel.debug%'",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" is_bundle: false",
|
||||
" type: annotation",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" metadata_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
"framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "16f28f5c16cee104dacf479e6fb96d8dd0074b1e"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
"",
|
||||
" # only needed for MySQL",
|
||||
" charset: utf8mb4",
|
||||
" default_table_options:",
|
||||
" collate: utf8mb4_unicode_ci",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" is_bundle: false",
|
||||
" type: annotation",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" metadata_cache_driver:",
|
||||
" type: service",
|
||||
" id: doctrine.system_cache_provider",
|
||||
" query_cache_driver:",
|
||||
" type: service",
|
||||
" id: doctrine.system_cache_provider",
|
||||
" result_cache_driver:",
|
||||
" type: service",
|
||||
" id: doctrine.result_cache_provider",
|
||||
"",
|
||||
"services:",
|
||||
" doctrine.result_cache_provider:",
|
||||
" class: Symfony\\Component\\Cache\\DoctrineProvider",
|
||||
" public: false",
|
||||
" arguments:",
|
||||
" - '@doctrine.result_cache_pool'",
|
||||
" doctrine.system_cache_provider:",
|
||||
" class: Symfony\\Component\\Cache\\DoctrineProvider",
|
||||
" public: false",
|
||||
" arguments:",
|
||||
" - '@doctrine.system_cache_pool'",
|
||||
"",
|
||||
"framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "ff42a676ec7b27dcbf3353cfd552ceb6e9b2ffdc"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
" use_savepoints: true",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" is_bundle: false",
|
||||
" type: annotation",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" metadata_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
"framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "76c2e09fb2dca16bd99bd069b74246a8091edc88"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
|
||||
"#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflict": {
|
||||
"doctrine/orm": "<2.14",
|
||||
"symfony/dependency-injection": "<6.2",
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
"",
|
||||
" profiling_collect_backtrace: '%kernel.debug%'",
|
||||
" use_savepoints: true",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" enable_lazy_ghost_objects: true",
|
||||
" report_fields_where_declared: true",
|
||||
" validate_xml_mapping: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" type: attribute",
|
||||
" is_bundle: false",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
"",
|
||||
"when@test:",
|
||||
" doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
" framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "d1778a69711a9b06bb4e202977ca6c4a0d16933d"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
|
||||
"#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" healthcheck:",
|
||||
" test: [\"CMD\", \"pg_isready\", \"-d\", \"${POSTGRES_DB:-app}\", \"-U\", \"${POSTGRES_USER:-app}\"]",
|
||||
" timeout: 5s",
|
||||
" retries: 5",
|
||||
" start_period: 60s",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.1"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
"",
|
||||
" profiling_collect_backtrace: '%kernel.debug%'",
|
||||
" use_savepoints: true",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" enable_lazy_ghost_objects: true",
|
||||
" report_fields_where_declared: true",
|
||||
" validate_xml_mapping: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" type: attribute",
|
||||
" is_bundle: false",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
" controller_resolver:",
|
||||
" auto_mapping: false",
|
||||
"",
|
||||
"when@test:",
|
||||
" doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
" framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4740f08822ce2f32d929b93931131064363cb40a"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,145 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
|
||||
"#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" healthcheck:",
|
||||
" test: [\"CMD\", \"pg_isready\", \"-d\", \"${POSTGRES_DB:-app}\", \"-U\", \"${POSTGRES_USER:-app}\"]",
|
||||
" timeout: 5s",
|
||||
" retries: 5",
|
||||
" start_period: 60s",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<7.1"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
"",
|
||||
" profiling_collect_backtrace: '%kernel.debug%'",
|
||||
" use_savepoints: true",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" enable_lazy_ghost_objects: true",
|
||||
" report_fields_where_declared: true",
|
||||
" validate_xml_mapping: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" identity_generation_preferences:",
|
||||
" Doctrine\\DBAL\\Platforms\\PostgreSQLPlatform: identity",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" type: attribute",
|
||||
" is_bundle: false",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
" controller_resolver:",
|
||||
" auto_mapping: false",
|
||||
"",
|
||||
"when@test:",
|
||||
" doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
" framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "620b57f496f2e599a6015a9fa222c2ee0a32adcb"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
" use_savepoints: true",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" is_bundle: false",
|
||||
" type: annotation",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/prod/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
"framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"config/packages/test/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname: 'main_test%env(default::TEST_TOKEN)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4bd1b38815e7700194790ff412dc9c08a94f2e1a"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
" use_savepoints: true",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" is_bundle: false",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
"",
|
||||
"when@test:",
|
||||
" doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
" framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "eaa0b7647c0ec3dbdcf24ade4625f381aa23c027"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
|
||||
"#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflict": {
|
||||
"doctrine/orm": "<2.14",
|
||||
"symfony/dependency-injection": "<6.2",
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
" use_savepoints: true",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" enable_lazy_ghost_objects: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" is_bundle: false",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
"",
|
||||
"when@test:",
|
||||
" doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
" framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "43340484d887d22a0cb5a81824fbfd7021c4e257"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
|
||||
"#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflict": {
|
||||
"doctrine/orm": "<2.14",
|
||||
"symfony/dependency-injection": "<6.2",
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
" use_savepoints: true",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: true",
|
||||
" enable_lazy_ghost_objects: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" is_bundle: false",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
"",
|
||||
"when@test:",
|
||||
" doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" doctrine:",
|
||||
" orm:",
|
||||
" auto_generate_proxy_classes: false",
|
||||
" proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
" framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "43340484d887d22a0cb5a81824fbfd7021c4e257"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
|
||||
"#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" healthcheck:",
|
||||
" test: [\"CMD\", \"pg_isready\", \"-d\", \"${POSTGRES_DB:-app}\", \"-U\", \"${POSTGRES_USER:-app}\"]",
|
||||
" timeout: 5s",
|
||||
" retries: 5",
|
||||
" start_period: 60s",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<6.4"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
"",
|
||||
" profiling_collect_backtrace: '%kernel.debug%'",
|
||||
" orm:",
|
||||
" validate_xml_mapping: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore",
|
||||
" identity_generation_preferences:",
|
||||
" Doctrine\\DBAL\\Platforms\\PostgreSQLPlatform: identity",
|
||||
" auto_mapping: true",
|
||||
" mappings:",
|
||||
" App:",
|
||||
" type: attribute",
|
||||
" is_bundle: false",
|
||||
" dir: '%kernel.project_dir%/src/Entity'",
|
||||
" prefix: 'App\\Entity'",
|
||||
" alias: App",
|
||||
"",
|
||||
"when@test:",
|
||||
" doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" doctrine:",
|
||||
" orm:",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
" framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "d39a3bd844edfe90c20ae520b804a3bf4f82b4ad"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"manifests": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url",
|
||||
"#2": "IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml",
|
||||
"#3": "",
|
||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db\"",
|
||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4\"",
|
||||
"#6": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
|
||||
},
|
||||
"dockerfile": [
|
||||
"RUN install-php-extensions pdo_pgsql"
|
||||
],
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-16}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-app}",
|
||||
" healthcheck:",
|
||||
" test: [\"CMD\", \"pg_isready\", \"-d\", \"${POSTGRES_DB:-app}\", \"-U\", \"${POSTGRES_USER:-app}\"]",
|
||||
" timeout: 5s",
|
||||
" retries: 5",
|
||||
" start_period: 60s",
|
||||
" volumes:",
|
||||
" - database_data:/var/lib/postgresql/data:rw",
|
||||
" # You may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!",
|
||||
" # - ./docker/db/data:/var/lib/postgresql/data:rw"
|
||||
],
|
||||
"volumes": [
|
||||
"database_data:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<8.2"
|
||||
},
|
||||
"post-install-output": [
|
||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||
"",
|
||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||
" <fg=green>server_version</> (16) in <fg=green>config/packages/doctrine.yaml</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/doctrine.yaml": {
|
||||
"contents": [
|
||||
"doctrine:",
|
||||
" dbal:",
|
||||
" url: '%env(resolve:DATABASE_URL)%'",
|
||||
"",
|
||||
" # IMPORTANT: You MUST configure your server version,",
|
||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||
" #server_version: '16'",
|
||||
"",
|
||||
" profiling_collect_backtrace: '%kernel.debug%'",
|
||||
" orm:",
|
||||
" validate_xml_mapping: true",
|
||||
" naming_strategy: doctrine.orm.naming_strategy.underscore",
|
||||
" identity_generation_preferences:",
|
||||
" Doctrine\\DBAL\\Platforms\\PostgreSQLPlatform: identity",
|
||||
" auto_mapping: true",
|
||||
" auto_discover_entities: true",
|
||||
"",
|
||||
"when@test:",
|
||||
" doctrine:",
|
||||
" dbal:",
|
||||
" # \"TEST_TOKEN\" is typically set by ParaTest",
|
||||
" dbname_suffix: '_test%env(default::TEST_TOKEN)%'",
|
||||
"",
|
||||
"when@prod:",
|
||||
" doctrine:",
|
||||
" orm:",
|
||||
" query_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.system_cache_pool",
|
||||
" result_cache_driver:",
|
||||
" type: pool",
|
||||
" pool: doctrine.result_cache_pool",
|
||||
"",
|
||||
" framework:",
|
||||
" cache:",
|
||||
" pools:",
|
||||
" doctrine.result_cache_pool:",
|
||||
" adapter: cache.app",
|
||||
" doctrine.system_cache_pool:",
|
||||
" adapter: cache.system",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Repository/.gitignore": {
|
||||
"contents": [
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "7d1fa7170298a652a5c95e5d716adc7dde4753ad"
|
||||
}
|
||||
}
|
||||
}
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"aliases": [],
|
||||
"recipes": {
|
||||
"doctrine/doctrine-bundle": [
|
||||
"1.6",
|
||||
"1.12",
|
||||
"2.0",
|
||||
"2.3",
|
||||
"2.4",
|
||||
"2.8",
|
||||
"2.9",
|
||||
"2.10",
|
||||
"2.12",
|
||||
"2.13",
|
||||
"3.0",
|
||||
"3.4"
|
||||
]
|
||||
},
|
||||
"recipe-conflicts": {
|
||||
"doctrine/doctrine-bundle": {
|
||||
"2.4": {
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"2.8": {
|
||||
"doctrine/orm": "<2.14",
|
||||
"symfony/dependency-injection": "<6.2",
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"2.9": {
|
||||
"doctrine/orm": "<2.14",
|
||||
"symfony/dependency-injection": "<6.2",
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"2.10": {
|
||||
"doctrine/orm": "<2.14",
|
||||
"symfony/dependency-injection": "<6.2",
|
||||
"symfony/framework-bundle": "<5.3"
|
||||
},
|
||||
"2.12": {
|
||||
"symfony/framework-bundle": "<7.1"
|
||||
},
|
||||
"2.13": {
|
||||
"symfony/framework-bundle": "<7.1"
|
||||
},
|
||||
"3.0": {
|
||||
"symfony/framework-bundle": "<6.4"
|
||||
},
|
||||
"3.4": {
|
||||
"symfony/framework-bundle": "<8.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"versions": [],
|
||||
"branch": "main",
|
||||
"is_contrib": false,
|
||||
"_links": {
|
||||
"repository": "github.com/symfony/recipes",
|
||||
"origin_template": "{package}:{version}@github.com/symfony/recipes:main",
|
||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1561/{package_dotted}.{version}.json",
|
||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes/flex/pull-1561/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user