mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-19 11:06:41 +03:00
Add recipe for rekalogika/gotenberg-pdf-bundle (#1552)
* Add recipe for rekalogika/gotenberg-pdf-bundle * ends files with newlines * use GOTENBERG_URL, but retain GOTENBERG_HOST and GOTENBERG_PORT * add env comment for clarity
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
rekalogika_gotenberg_pdf:
|
||||
url: '%env(GOTENBERG_URL)%'
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Rekalogika\\GotenbergPdfBundle\\RekalogikaGotenbergPdfBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"#1": "The variables GOTENBERG_HOST & GOTENBERG_PORT are only used for Docker",
|
||||
"#2": "integration. The library uses only GOTENBERG_URL. You can override",
|
||||
"#3": "GOTENBERG_URL and safely ignore GOTENBERG_HOST & GOTENBERG_PORT.",
|
||||
"GOTENBERG_HOST": "localhost",
|
||||
"GOTENBERG_PORT": "3000",
|
||||
"GOTENBERG_URL": "http://${GOTENBERG_HOST}:${GOTENBERG_PORT}"
|
||||
},
|
||||
"docker-compose": {
|
||||
"docker-compose.yml": {
|
||||
"services": [
|
||||
"gotenberg:",
|
||||
" image: docker.io/gotenberg/gotenberg:7"
|
||||
]
|
||||
},
|
||||
"docker-compose.override.yml": {
|
||||
"services": [
|
||||
"gotenberg:",
|
||||
" ports:",
|
||||
" - \"3000\""
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user