https://github.com/gotenberg/gotenberg-template-repository
👷 GitHub template repository for custom modules and Gotenberg's Docker image variants.
https://github.com/gotenberg/gotenberg-template-repository
gotenberg repository template
Last synced: 1 day ago
JSON representation
👷 GitHub template repository for custom modules and Gotenberg's Docker image variants.
- Host: GitHub
- URL: https://github.com/gotenberg/gotenberg-template-repository
- Owner: gotenberg
- License: mit
- Created: 2021-08-23T14:47:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T15:49:33.000Z (14 days ago)
- Last Synced: 2025-04-12T16:43:56.902Z (14 days ago)
- Topics: gotenberg, repository, template
- Language: Go
- Homepage:
- Size: 251 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Use this GitHub template repository for your custom modules and Gotenberg's Docker image variants.
>
> Want to share your work? Open a PR to the [awesome list](https://github.com/gotenberg/awesome-gotenberg)! 🚀## Quick Start
Update the following variables in the `Makefile`:
* `APP_NAME` - the name of your Gotenberg's Docker image variant.
* `APP_VERSION`
* `APP_AUTHOR`
* `APP_REPOSITORY`
* `DOCKER_REGISTRY`
* `DOCKER_REPOSITORY`You may now run:
```bash
make build
```This command builds your Gotenberg's Docker image (`$(DOCKER_REGISTRY)/$(DOCKER_REPOSITORY):$(GOTENBERG_VERSION)-$(APP_NAME)-$(APP_VERSION)`).
## Next steps
1. Update the `go.mod` file with your Go module's name.
2. Update the `build/Dockerfile` with your instructions.
3. Create your module(s) in `pkg/modules`.
4. Import your module(s) in `cmd/app/main.go`.## FAQ
> How can I check the underlying Gotenberg's version?
The Gotenberg's image has a `version` label which contains the underlying Gotenberg's version:
```
docker inspect $(DOCKER_REGISTRY)/$(DOCKER_REPOSITORY):$(GOTENBERG_VERSION)-$(APP_NAME)-$(APP_VERSION)
```---
> Where can I see the list of `Makefile` commands?
Run `make help` to display the available commands 💡