mirror of
https://github.com/symfony/recipes.git
synced 2026-09-21 12:06:33 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,146 @@
|
|||||||
|
{
|
||||||
|
"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.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=15&charset=utf8"
|
||||||
|
},
|
||||||
|
"dockerfile": [
|
||||||
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
||||||
|
"\tdocker-php-ext-install -j$(nproc) pdo_pgsql && \\",
|
||||||
|
"\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5 && \\",
|
||||||
|
"\tapk del .pgsql-deps"
|
||||||
|
],
|
||||||
|
"docker-compose": {
|
||||||
|
"docker-compose.yml": {
|
||||||
|
"services": [
|
||||||
|
"database:",
|
||||||
|
" image: postgres:${POSTGRES_VERSION:-15}-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:",
|
||||||
|
" - db-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": [
|
||||||
|
"db-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</> (15) 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: '15'",
|
||||||
|
"",
|
||||||
|
" # 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": "0b5fae50a1da99224c6b5dfa79ef92be3c76959c"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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.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=15&charset=utf8"
|
||||||
|
},
|
||||||
|
"dockerfile": [
|
||||||
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
||||||
|
"\tdocker-php-ext-install -j$(nproc) pdo_pgsql; \\",
|
||||||
|
"\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\",
|
||||||
|
"\tapk del .pgsql-deps"
|
||||||
|
],
|
||||||
|
"docker-compose": {
|
||||||
|
"docker-compose.yml": {
|
||||||
|
"services": [
|
||||||
|
"database:",
|
||||||
|
" image: postgres:${POSTGRES_VERSION:-15}-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:",
|
||||||
|
" - db-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": [
|
||||||
|
"db-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</> (15) 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: '15'",
|
||||||
|
" 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": "26746c8a894657a866f60473f855048b6aaf251f"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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.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=15&charset=utf8"
|
||||||
|
},
|
||||||
|
"dockerfile": [
|
||||||
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
||||||
|
"\tdocker-php-ext-install -j$(nproc) pdo_pgsql && \\",
|
||||||
|
"\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5 && \\",
|
||||||
|
"\tapk del .pgsql-deps"
|
||||||
|
],
|
||||||
|
"docker-compose": {
|
||||||
|
"docker-compose.yml": {
|
||||||
|
"services": [
|
||||||
|
"database:",
|
||||||
|
" image: postgres:${POSTGRES_VERSION:-15}-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:",
|
||||||
|
" - db-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": [
|
||||||
|
"db-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</> (15) 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: '15'",
|
||||||
|
" 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": "62761e91f460fe359c748daef86d97251aa6a856"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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.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=15&charset=utf8"
|
||||||
|
},
|
||||||
|
"dockerfile": [
|
||||||
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
||||||
|
"\tdocker-php-ext-install -j$(nproc) pdo_pgsql; \\",
|
||||||
|
"\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\",
|
||||||
|
"\tapk del .pgsql-deps"
|
||||||
|
],
|
||||||
|
"docker-compose": {
|
||||||
|
"docker-compose.yml": {
|
||||||
|
"services": [
|
||||||
|
"database:",
|
||||||
|
" image: postgres:${POSTGRES_VERSION:-15}-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:",
|
||||||
|
" - db-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": [
|
||||||
|
"db-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</> (15) 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: '15'",
|
||||||
|
" 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": "c38df294eea859b4e2d5f252d4e973f55a264f84"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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.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=15&charset=utf8"
|
||||||
|
},
|
||||||
|
"dockerfile": [
|
||||||
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
||||||
|
"\tdocker-php-ext-install -j$(nproc) pdo_pgsql && \\",
|
||||||
|
"\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5 && \\",
|
||||||
|
"\tapk del .pgsql-deps"
|
||||||
|
],
|
||||||
|
"docker-compose": {
|
||||||
|
"docker-compose.yml": {
|
||||||
|
"services": [
|
||||||
|
"database:",
|
||||||
|
" image: postgres:${POSTGRES_VERSION:-15}-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:",
|
||||||
|
" - db-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": [
|
||||||
|
"db-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</> (15) 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: '15'",
|
||||||
|
"",
|
||||||
|
" # 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": "ec6c0641f4e6842cec6315a50e6c7ad468a920f3"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,136 @@
|
|||||||
|
{
|
||||||
|
"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.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=15&charset=utf8"
|
||||||
|
},
|
||||||
|
"dockerfile": [
|
||||||
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
||||||
|
"\tdocker-php-ext-install -j$(nproc) pdo_pgsql; \\",
|
||||||
|
"\tapk add --no-cache --virtual .pgsql-rundeps so:libpq.so.5; \\",
|
||||||
|
"\tapk del .pgsql-deps"
|
||||||
|
],
|
||||||
|
"docker-compose": {
|
||||||
|
"docker-compose.yml": {
|
||||||
|
"services": [
|
||||||
|
"database:",
|
||||||
|
" image: postgres:${POSTGRES_VERSION:-15}-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:",
|
||||||
|
" - db-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": [
|
||||||
|
"db-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</> (15) 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: '15'",
|
||||||
|
" 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": "ecef41068df46bdbb1e31d2465493cb00c2fed1c"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
"#3": "",
|
"#3": "",
|
||||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/db_name?serverVersion=8\"",
|
"#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=14&charset=utf8"
|
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/db_name?serverVersion=15&charset=utf8"
|
||||||
},
|
},
|
||||||
"dockerfile": [
|
"dockerfile": [
|
||||||
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"docker-compose.yml": {
|
"docker-compose.yml": {
|
||||||
"services": [
|
"services": [
|
||||||
"database:",
|
"database:",
|
||||||
" image: postgres:${POSTGRES_VERSION:-14}-alpine",
|
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
|
||||||
" environment:",
|
" environment:",
|
||||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||||
" # You should definitely change the password in production",
|
" # You should definitely change the password in production",
|
||||||
@@ -55,8 +55,8 @@
|
|||||||
"post-install-output": [
|
"post-install-output": [
|
||||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||||
"",
|
"",
|
||||||
" * Configure the <fg=green>driver</> (mysql) and",
|
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||||
" <fg=green>server_version</> (5.7) in <fg=green>config/packages/doctrine.yaml</>"
|
" <fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
"",
|
"",
|
||||||
" # IMPORTANT: You MUST configure your server version,",
|
" # IMPORTANT: You MUST configure your server version,",
|
||||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||||
" #server_version: '14'",
|
" #server_version: '15'",
|
||||||
"",
|
"",
|
||||||
" # only needed for MySQL",
|
" # only needed for MySQL",
|
||||||
" charset: utf8mb4",
|
" charset: utf8mb4",
|
||||||
@@ -131,7 +131,7 @@
|
|||||||
"executable": false
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "23becd86f9341fbcce5ccdff91ca8f1172aa4941"
|
"ref": "ec6c0641f4e6842cec6315a50e6c7ad468a920f3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"#3": "",
|
"#3": "",
|
||||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8\"",
|
"#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=14&charset=utf8"
|
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
|
||||||
},
|
},
|
||||||
"dockerfile": [
|
"dockerfile": [
|
||||||
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"docker-compose.yml": {
|
"docker-compose.yml": {
|
||||||
"services": [
|
"services": [
|
||||||
"database:",
|
"database:",
|
||||||
" image: postgres:${POSTGRES_VERSION:-14}-alpine",
|
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
|
||||||
" environment:",
|
" environment:",
|
||||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||||
" # You should definitely change the password in production",
|
" # You should definitely change the password in production",
|
||||||
@@ -55,8 +55,8 @@
|
|||||||
"post-install-output": [
|
"post-install-output": [
|
||||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||||
"",
|
"",
|
||||||
" * Configure the <fg=green>driver</> (mysql) and",
|
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||||
" <fg=green>server_version</> (5.7) in <fg=green>config/packages/doctrine.yaml</>"
|
" <fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
"",
|
"",
|
||||||
" # IMPORTANT: You MUST configure your server version,",
|
" # IMPORTANT: You MUST configure your server version,",
|
||||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||||
" #server_version: '14'",
|
" #server_version: '15'",
|
||||||
"",
|
"",
|
||||||
" # only needed for MySQL",
|
" # only needed for MySQL",
|
||||||
" charset: utf8mb4",
|
" charset: utf8mb4",
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
"executable": false
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "c6f8fe772c75e1ba62589367fd21abd0802a5c63"
|
"ref": "0b5fae50a1da99224c6b5dfa79ef92be3c76959c"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"#3": "",
|
"#3": "",
|
||||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8\"",
|
"#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=14&charset=utf8"
|
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
|
||||||
},
|
},
|
||||||
"dockerfile": [
|
"dockerfile": [
|
||||||
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev && \\",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"docker-compose.yml": {
|
"docker-compose.yml": {
|
||||||
"services": [
|
"services": [
|
||||||
"database:",
|
"database:",
|
||||||
" image: postgres:${POSTGRES_VERSION:-14}-alpine",
|
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
|
||||||
" environment:",
|
" environment:",
|
||||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||||
" # You should definitely change the password in production",
|
" # You should definitely change the password in production",
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||||
"",
|
"",
|
||||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||||
" <fg=green>server_version</> (14) in <fg=green>config/packages/doctrine.yaml</>"
|
" <fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
"",
|
"",
|
||||||
" # IMPORTANT: You MUST configure your server version,",
|
" # IMPORTANT: You MUST configure your server version,",
|
||||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||||
" #server_version: '14'",
|
" #server_version: '15'",
|
||||||
" orm:",
|
" orm:",
|
||||||
" auto_generate_proxy_classes: true",
|
" auto_generate_proxy_classes: true",
|
||||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
"executable": false
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "504332892aa02429a7c04206fd3bd5d8609514fd"
|
"ref": "62761e91f460fe359c748daef86d97251aa6a856"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"#3": "",
|
"#3": "",
|
||||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"",
|
"#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=14&charset=utf8"
|
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
|
||||||
},
|
},
|
||||||
"dockerfile": [
|
"dockerfile": [
|
||||||
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"docker-compose.yml": {
|
"docker-compose.yml": {
|
||||||
"services": [
|
"services": [
|
||||||
"database:",
|
"database:",
|
||||||
" image: postgres:${POSTGRES_VERSION:-14}-alpine",
|
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
|
||||||
" environment:",
|
" environment:",
|
||||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||||
" # You should definitely change the password in production",
|
" # You should definitely change the password in production",
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||||
"",
|
"",
|
||||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||||
" <fg=green>server_version</> (14) in <fg=green>config/packages/doctrine.yaml</>"
|
" <fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
"",
|
"",
|
||||||
" # IMPORTANT: You MUST configure your server version,",
|
" # IMPORTANT: You MUST configure your server version,",
|
||||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||||
" #server_version: '14'",
|
" #server_version: '15'",
|
||||||
" orm:",
|
" orm:",
|
||||||
" auto_generate_proxy_classes: true",
|
" auto_generate_proxy_classes: true",
|
||||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
"executable": false
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "b8ddff356705ad8e704ea75b6872ce89a15d614d"
|
"ref": "ecef41068df46bdbb1e31d2465493cb00c2fed1c"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"#3": "",
|
"#3": "",
|
||||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"",
|
"#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=14&charset=utf8"
|
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
|
||||||
},
|
},
|
||||||
"dockerfile": [
|
"dockerfile": [
|
||||||
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"docker-compose.yml": {
|
"docker-compose.yml": {
|
||||||
"services": [
|
"services": [
|
||||||
"database:",
|
"database:",
|
||||||
" image: postgres:${POSTGRES_VERSION:-14}-alpine",
|
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
|
||||||
" environment:",
|
" environment:",
|
||||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||||
" # You should definitely change the password in production",
|
" # You should definitely change the password in production",
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||||
"",
|
"",
|
||||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||||
" <fg=green>server_version</> (14) in <fg=green>config/packages/doctrine.yaml</>"
|
" <fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
"",
|
"",
|
||||||
" # IMPORTANT: You MUST configure your server version,",
|
" # IMPORTANT: You MUST configure your server version,",
|
||||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||||
" #server_version: '14'",
|
" #server_version: '15'",
|
||||||
" orm:",
|
" orm:",
|
||||||
" auto_generate_proxy_classes: true",
|
" auto_generate_proxy_classes: true",
|
||||||
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
" naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware",
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
"executable": false
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "5b7882dd9d05ef9b7e71fceed66af1ea573a70d4"
|
"ref": "26746c8a894657a866f60473f855048b6aaf251f"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
"#3": "",
|
"#3": "",
|
||||||
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
"#4": "DATABASE_URL=\"sqlite:///%kernel.project_dir%/var/data.db\"",
|
||||||
"#5": "DATABASE_URL=\"mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8&charset=utf8mb4\"",
|
"#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=14&charset=utf8"
|
"DATABASE_URL": "postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=15&charset=utf8"
|
||||||
},
|
},
|
||||||
"dockerfile": [
|
"dockerfile": [
|
||||||
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
"RUN apk add --no-cache --virtual .pgsql-deps postgresql-dev; \\",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"docker-compose.yml": {
|
"docker-compose.yml": {
|
||||||
"services": [
|
"services": [
|
||||||
"database:",
|
"database:",
|
||||||
" image: postgres:${POSTGRES_VERSION:-14}-alpine",
|
" image: postgres:${POSTGRES_VERSION:-15}-alpine",
|
||||||
" environment:",
|
" environment:",
|
||||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||||
" # You should definitely change the password in production",
|
" # You should definitely change the password in production",
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
" * Modify your DATABASE_URL config in <fg=green>.env</>",
|
||||||
"",
|
"",
|
||||||
" * Configure the <fg=green>driver</> (postgresql) and",
|
" * Configure the <fg=green>driver</> (postgresql) and",
|
||||||
" <fg=green>server_version</> (14) in <fg=green>config/packages/doctrine.yaml</>"
|
" <fg=green>server_version</> (15) in <fg=green>config/packages/doctrine.yaml</>"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
"",
|
"",
|
||||||
" # IMPORTANT: You MUST configure your server version,",
|
" # IMPORTANT: You MUST configure your server version,",
|
||||||
" # either here or in the DATABASE_URL env var (see .env file)",
|
" # either here or in the DATABASE_URL env var (see .env file)",
|
||||||
" #server_version: '14'",
|
" #server_version: '15'",
|
||||||
" orm:",
|
" orm:",
|
||||||
" auto_generate_proxy_classes: true",
|
" auto_generate_proxy_classes: true",
|
||||||
" enable_lazy_ghost_objects: true",
|
" enable_lazy_ghost_objects: true",
|
||||||
@@ -128,7 +128,7 @@
|
|||||||
"executable": false
|
"executable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ref": "8f7f5cb790f1ef7d85f6f01634f340d08b399a4e"
|
"ref": "c38df294eea859b4e2d5f252d4e973f55a264f84"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user