mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-11 03:13:46 +00:00
refactor(renderer)!: prefix every renderer env var with RENDERER_
The renderer's settings now read RENDERER_HOST, RENDERER_PORT, RENDERER_MAX_CONCURRENT_RENDERS, RENDERER_RENDER_TIMEOUT_MS, RENDERER_MAX_OPTIONS, and RENDERER_MAX_OPTION_CHARS, so they read as renderer settings and cannot clash with the bot's variables, which Coolify injects into every service. NODE_ENV keeps its standard name. BREAKING CHANGE: the unprefixed HOST, PORT, MAX_CONCURRENT_RENDERS, RENDER_TIMEOUT_MS, MAX_OPTIONS, and MAX_OPTION_CHARS are no longer read by the renderer.
This commit is contained in:
1 parent
11ed121af9
commit
83321fa330
7 files changed
+35
-32
No files matched your search
@@ -60,8 +60,9 @@ compose network, so it needs no domain, publishes no port, and takes no auth
|
||||
token. Its API is unauthenticated, so never publish a port or attach a domain
|
||||
to it.
|
||||
|
||||
Renderer tuning (`MAX_CONCURRENT_RENDERS`, `RENDER_TIMEOUT_MS`, `MAX_OPTIONS`,
|
||||
`MAX_OPTION_CHARS`) can be set in Coolify too; the defaults are in
|
||||
Renderer tuning (`RENDERER_MAX_CONCURRENT_RENDERS`,
|
||||
`RENDERER_RENDER_TIMEOUT_MS`, `RENDERER_MAX_OPTIONS`,
|
||||
`RENDERER_MAX_OPTION_CHARS`) can be set in Coolify too; the defaults are in
|
||||
[`renderer/docs/deployment.md`](../renderer/docs/deployment.md). Give the host
|
||||
1-2 GB of headroom for the renderer's Chrome.
|
||||
|
||||
|
||||
Reference in new issue
Block a user