Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

environment variable to switch on/off engines #49

Closed
tobwen opened this issue Feb 23, 2019 · 4 comments · Fixed by #66
Closed

environment variable to switch on/off engines #49

tobwen opened this issue Feb 23, 2019 · 4 comments · Fixed by #66
Labels
enhancement New feature or request

Comments

@tobwen
Copy link

tobwen commented Feb 23, 2019

Would it be possible to insert an environment variable to turn on/off LibreOffice or Chrome support? Sometimes, I don't need Chrome, so I want to save resources.

@tobwen tobwen changed the title environment variable to turn switch on/off engines environment variable to switch on/off engines Feb 23, 2019
@gulien gulien added the enhancement New feature or request label Feb 25, 2019
@gulien
Copy link
Collaborator

gulien commented Feb 25, 2019

We could also provide a "slim" image which contains only the basics and then thanks to Docker multi-stage build:

ARGS ENABLE_CHROME=1
FROM thecodingmachine/gotenberg

// the previous arg will automatically trigger the installation of Chrome.

@tobwen
Copy link
Author

tobwen commented Feb 26, 2019

I'd really love that. Unfortunately, I probably can't help with the implementation.

@thomasf
Copy link

thomasf commented Mar 30, 2019

I would maybe also like if the service processes can be configured to be started lazily and shut down the processes if they haven been used for a configurable duration.. I have a lot very low activity low resource staging environments where this would be very handy.

@gulien
Copy link
Collaborator

gulien commented Apr 1, 2019

Great idea! 👍

@gulien gulien mentioned this issue Apr 1, 2019
@gulien gulien mentioned this issue Apr 14, 2019
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants