Skip to content

Commit

Permalink
Add recipe for rekalogika/gotenberg-pdf-bundle (#1552)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
priyadi authored Oct 18, 2023
1 parent cf2d161 commit 6130306
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rekalogika_gotenberg_pdf:
url: '%env(GOTENBERG_URL)%'
32 changes: 32 additions & 0 deletions rekalogika/gotenberg-pdf-bundle/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -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\""
]
}
}
}

0 comments on commit 6130306

Please sign in to comment.