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:
Priyadi Iman Nurcahyo
2023-10-18 10:43:58 -04:00
committed by GitHub
parent cf2d161e07
commit 613030662a
2 changed files with 34 additions and 0 deletions
@@ -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\""
]
}
}
}