mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,130 @@
|
||||
{
|
||||
"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://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://symfony:ChangeMe@127.0.0.1:5432/app?serverVersion=13&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:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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</> (13) 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: '13'",
|
||||
" 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",
|
||||
" 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": "22ec8d438f54a58f50cb5a9c868af31434f2d1e1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"",
|
||||
"DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&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:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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</> (mysql) and",
|
||||
" <fg=green>server_version</> (5.7) 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: '13'",
|
||||
"",
|
||||
" # 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": "730b71ffa69d6052f3f4b39e71f37cc0880ab446"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7&charset=utf8mb4\"",
|
||||
"DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&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:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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</> (13) 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: '13'",
|
||||
" 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": "8e47b982a56d02bc8d170b6b0d7a8d8a258f7db4"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"",
|
||||
"DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&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:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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</> (13) 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: '13'",
|
||||
" 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": "b89df888c196b13bf6689b3ee454f0249f61ea0b"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7\"",
|
||||
"DATABASE_URL": "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=13&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:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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</> (mysql) and",
|
||||
" <fg=green>server_version</> (5.7) 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: '13'",
|
||||
"",
|
||||
" # 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": "c15274e97f107884884348d56e6414fd261ea952"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"manifests": {
|
||||
"symfony/mercure-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Symfony\\Bundle\\MercureBundle\\MercureBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "See https://symfony.com/doc/current/mercure.html#configuration",
|
||||
"#2": "The URL of the Mercure hub, used by the app to publish updates (can be a local URL)",
|
||||
"MERCURE_URL": "https://example.com/.well-known/mercure",
|
||||
"#3": "The public URL of the Mercure hub, used by the browser to connect",
|
||||
"MERCURE_PUBLIC_URL": "https://example.com/.well-known/mercure",
|
||||
"#4": "The secret used to sign the JWTs",
|
||||
"MERCURE_JWT_SECRET": "!ChangeMe!"
|
||||
},
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"mercure:",
|
||||
" image: dunglas/mercure",
|
||||
" restart: unless-stopped",
|
||||
" environment:",
|
||||
" SERVER_NAME: ':80'",
|
||||
" MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'",
|
||||
" MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'",
|
||||
" # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive",
|
||||
" MERCURE_EXTRA_DIRECTIVES: |",
|
||||
" cors_origins http://127.0.0.1:8000",
|
||||
" # Comment the following line to disable the development mode",
|
||||
" command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev",
|
||||
" volumes:",
|
||||
" - mercure_data:/data",
|
||||
" - mercure_config:/config"
|
||||
],
|
||||
"volumes": [
|
||||
"mercure_data:",
|
||||
"mercure_config:"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"mercure:",
|
||||
" ports:",
|
||||
" - \"80\""
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/mercure.yaml": {
|
||||
"contents": [
|
||||
"mercure:",
|
||||
" hubs:",
|
||||
" default:",
|
||||
" url: '%env(MERCURE_URL)%'",
|
||||
" public_url: '%env(MERCURE_PUBLIC_URL)%'",
|
||||
" jwt:",
|
||||
" secret: '%env(MERCURE_JWT_SECRET)%'",
|
||||
" publish: '*'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "d1f7dde25c70478a732095b966d34c640e8dae74"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -29,16 +29,16 @@
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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"
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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:"
|
||||
@@ -47,8 +47,8 @@
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -131,7 +131,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3cc0efdb85531c72c2b25cbb41eec849a279aa64"
|
||||
"ref": "730b71ffa69d6052f3f4b39e71f37cc0880ab446"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,16 +29,16 @@
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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"
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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:"
|
||||
@@ -47,8 +47,8 @@
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -140,7 +140,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e4fc55e8adf9aa89d9bba8f5a95669d33a16cb00"
|
||||
"ref": "c15274e97f107884884348d56e6414fd261ea952"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,16 +29,16 @@
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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"
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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:"
|
||||
@@ -47,8 +47,8 @@
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -123,7 +123,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "c3d09597f211294e75b221b1d97a9c22f74957e1"
|
||||
"ref": "b89df888c196b13bf6689b3ee454f0249f61ea0b"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,16 +29,16 @@
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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"
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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:"
|
||||
@@ -47,8 +47,8 @@
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -130,7 +130,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "52eabf77a390fe5a12a589d74d8f2a31f60ad013"
|
||||
"ref": "8e47b982a56d02bc8d170b6b0d7a8d8a258f7db4"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,16 +29,16 @@
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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"
|
||||
" image: postgres:${POSTGRES_VERSION:-13}-alpine",
|
||||
" environment:",
|
||||
" POSTGRES_DB: ${POSTGRES_DB:-app}",
|
||||
" # You should definitely change the password in production",
|
||||
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-ChangeMe}",
|
||||
" POSTGRES_USER: ${POSTGRES_USER:-symfony}",
|
||||
" 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:"
|
||||
@@ -47,8 +47,8 @@
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"database:",
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
" ports:",
|
||||
" - \"5432\""
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -124,7 +124,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "ddddd8249dd55bbda16fa7a45bb7499ef6f8e90e"
|
||||
"ref": "22ec8d438f54a58f50cb5a9c868af31434f2d1e1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,20 +23,20 @@
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"mercure:",
|
||||
" image: dunglas/mercure",
|
||||
" restart: unless-stopped",
|
||||
" environment:",
|
||||
" SERVER_NAME: ':80'",
|
||||
" MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'",
|
||||
" MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'",
|
||||
" # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive",
|
||||
" MERCURE_EXTRA_DIRECTIVES: |",
|
||||
" cors_origins http://127.0.0.1:8000",
|
||||
" # Comment the following line to disable the development mode",
|
||||
" command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev",
|
||||
" volumes:",
|
||||
" - mercure_data:/data",
|
||||
" - mercure_config:/config"
|
||||
" image: dunglas/mercure",
|
||||
" restart: unless-stopped",
|
||||
" environment:",
|
||||
" SERVER_NAME: ':80'",
|
||||
" MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'",
|
||||
" MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'",
|
||||
" # Set the URL of your Symfony project (without trailing slash!) as value of the cors_origins directive",
|
||||
" MERCURE_EXTRA_DIRECTIVES: |",
|
||||
" cors_origins http://127.0.0.1:8000",
|
||||
" # Comment the following line to disable the development mode",
|
||||
" command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev",
|
||||
" volumes:",
|
||||
" - mercure_data:/data",
|
||||
" - mercure_config:/config"
|
||||
],
|
||||
"volumes": [
|
||||
"mercure_data:",
|
||||
@@ -46,8 +46,8 @@
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"mercure:",
|
||||
" ports:",
|
||||
" - \"80\""
|
||||
" ports:",
|
||||
" - \"80\""
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -68,7 +68,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e0a854b5439186e04b28fb8887b42c54f24a0d32"
|
||||
"ref": "d1f7dde25c70478a732095b966d34c640e8dae74"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user