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

changelog: Node 22 LTS image, with mise and redirection.io easy setup #498

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ authors:
link: https://github.com/davlgd
image: https://github.com/davlgd.png?size=40
description: Faster, with more features
aliases:
- /changelog/2024-12-05-metabase-52
excludeSearch: true
---

The `x.52` branch of Metabase is now available on Clever Cloud. To update, just set `CC_METABASE_VERSION` of the add-on's Java application to `0.52` for the community edition or `1.52` for the enterprise edition (EE).

- [Learn more about Metabase on Clever Cloud](/doc/addons/metabase/)
- [Learn more about Metabase 51](https://www.metabase.com/releases/metabase-52)
- [Learn more about Metabase on Clever Cloud](/developers/doc/addons/metabase/)
- [Learn more about Metabase 52](https://www.metabase.com/releases/metabase-52)

{{< youtube id="h4xKT3MkLj0" >}}
35 changes: 35 additions & 0 deletions content/changelog/2025/01-15-node-22-lts-image-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: "Node.js image update, with Mise package manager and Redirection.io easy setup"
date: 2025-01-15
tags:
- images
- update
authors:
- name: David Legrand
link: https://github.com/davlgd
image: https://github.com/davlgd.png?size=40
description: Ease your life on Clever Cloud
excludeSearch: true
---

We deployed an updated Node.js image with no impact for our users. It uses `22.13 LTS` release by default and Linux Kernel `6.12.9`.

Check warning on line 15 in content/changelog/2025/01-15-node-22-lts-image-update.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2025/01-15-node-22-lts-image-update.md#L15

[Google.We] Try to avoid using first-person plural like 'We'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'We'.", "location": {"path": "content/changelog/2025/01-15-node-22-lts-image-update.md", "range": {"start": {"line": 15, "column": 1}}}, "severity": "WARNING"}

Check warning on line 15 in content/changelog/2025/01-15-node-22-lts-image-update.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2025/01-15-node-22-lts-image-update.md#L15

[Google.We] Try to avoid using first-person plural like 'our'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "content/changelog/2025/01-15-node-22-lts-image-update.md", "range": {"start": {"line": 15, "column": 57}}}, "severity": "WARNING"}

## Mise package manager

It's the first image to include the [Mise package manager](https://mise.jdx.dev/), allowing you to install and manage many developer tools, environment variables, secrets, aliases, tasks, hooks through commands or a configuration file. It's compatible with [asdf ecosystem](https://mise.jdx.dev/dev-tools/comparison-to-asdf.html).

Check failure on line 19 in content/changelog/2025/01-15-node-22-lts-image-update.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2025/01-15-node-22-lts-image-update.md#L19

[Vale.Spelling] Did you really mean 'asdf'?
Raw output
{"message": "[Vale.Spelling] Did you really mean 'asdf'?", "location": {"path": "content/changelog/2025/01-15-node-22-lts-image-update.md", "range": {"start": {"line": 19, "column": 259}}}, "severity": "ERROR"}

* Learn more about [Mise](https://mise.jdx.dev/)

## Redirection.io easy setup

This image is also the first to include [Redirection.io](https://redirection.io/) easy setup. To configure the agent as a proxy, you just need to create an app listening on the port of your choice, get a project key from Redirection.io and set these environment variables:

- `CC_ENABLE_REDIRECTIONIO=true`
- `CC_REDIRECTIONIO_PROJECT_KEY=""`: The Redirection.io project key
- `CC_REDIRECTIONIO_FORWARD_PORT=""`: The listening port of your application

The Redirection.io agent will start as a service, listen to `8080` port and forward the traffic to your application. An optional `CC_REDIRECTIONIO_INSTANCE_NAME` is also available. It's the name of your application by default.

Check warning on line 31 in content/changelog/2025/01-15-node-22-lts-image-update.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2025/01-15-node-22-lts-image-update.md#L31

[Google.Will] Avoid using 'will'.
Raw output
{"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "content/changelog/2025/01-15-node-22-lts-image-update.md", "range": {"start": {"line": 31, "column": 26}}}, "severity": "WARNING"}

These environment variables will progressively be available on all our compatible images.

Check warning on line 33 in content/changelog/2025/01-15-node-22-lts-image-update.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2025/01-15-node-22-lts-image-update.md#L33

[Google.Will] Avoid using 'will'.
Raw output
{"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "content/changelog/2025/01-15-node-22-lts-image-update.md", "range": {"start": {"line": 33, "column": 29}}}, "severity": "WARNING"}

Check warning on line 33 in content/changelog/2025/01-15-node-22-lts-image-update.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/changelog/2025/01-15-node-22-lts-image-update.md#L33

[Google.We] Try to avoid using first-person plural like 'our'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "content/changelog/2025/01-15-node-22-lts-image-update.md", "range": {"start": {"line": 33, "column": 68}}}, "severity": "WARNING"}

- [Clever Cloud Environment Variables Reference](/developers/doc/reference/reference-environment-variables/)
17 changes: 17 additions & 0 deletions content/doc/reference/reference-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,23 @@
|[`CC_VARNISH_STORAGE_SIZE`](../../administrate/cache "Cache") | Configure the size of the Varnish cache. | 1G |
|[`CC_WORKER_COMMAND`](../../develop/workers "Workers") | Command to run in background as a worker process. You can run multiple workers. | |

### Redirection.io support

[Redirection.io](https://redirection.io) can help reduce HTTP traffic issues on your website. It gives a complete control on how HTTP requests are handled, which helps make it SEO-friendly. It can perform redirections and comes with lots of features. You can link any application to a Redirection.io project easily, setting up the proxy mode with following environment variables:

Check notice on line 104 in content/doc/reference/reference-environment-variables.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/doc/reference/reference-environment-variables.md#L104

[Google.Passive] In general, use active voice instead of passive voice ('are handled').
Raw output
{"message": "[Google.Passive] In general, use active voice instead of passive voice ('are handled').", "location": {"path": "content/doc/reference/reference-environment-variables.md", "range": {"start": {"line": 104, "column": 144}}}, "severity": "INFO"}

Check notice on line 104 in content/doc/reference/reference-environment-variables.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/doc/reference/reference-environment-variables.md#L104

[Google.Acronyms] Spell out 'SEO', if it's unfamiliar to the audience.
Raw output
{"message": "[Google.Acronyms] Spell out 'SEO', if it's unfamiliar to the audience.", "location": {"path": "content/doc/reference/reference-environment-variables.md", "range": {"start": {"line": 104, "column": 177}}}, "severity": "INFO"}

| Name | Description | Default value |
|-----------------------|------------------------------|--------------------------------|
|`CC_ENABLE_REDIRECTIONIO` | Enable Redirection.io support | false |
|`CC_REDIRECTIONIO_PROJECT_KEY` | The Redirection.io project key | |
|`CC_REDIRECTIONIO_FORWARD_PORT` | The listening port of your application | |
|`CC_REDIRECTIONIO_INSTANCE_NAME` | The name of your application (optional) | |

The Redirection.io agent will start as a service, listen to `8080` port and forward the traffic to your application port.

Check warning on line 113 in content/doc/reference/reference-environment-variables.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/doc/reference/reference-environment-variables.md#L113

[Google.Will] Avoid using 'will'.
Raw output
{"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "content/doc/reference/reference-environment-variables.md", "range": {"start": {"line": 113, "column": 26}}}, "severity": "WARNING"}

{{< callout type="info" >}}
Redirection.io easy setup is available in the Node.js runtime and will progressively be available on all our compatible images.

Check warning on line 116 in content/doc/reference/reference-environment-variables.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/doc/reference/reference-environment-variables.md#L116

[Google.Will] Avoid using 'will'.
Raw output
{"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "content/doc/reference/reference-environment-variables.md", "range": {"start": {"line": 116, "column": 69}}}, "severity": "WARNING"}

Check warning on line 116 in content/doc/reference/reference-environment-variables.md

View workflow job for this annotation

GitHub Actions / vale

[vale] content/doc/reference/reference-environment-variables.md#L116

[Google.We] Try to avoid using first-person plural like 'our'.
Raw output
{"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "content/doc/reference/reference-environment-variables.md", "range": {"start": {"line": 116, "column": 108}}}, "severity": "WARNING"}
{{< /callout >}}

### Tailscale support

[Tailscale](https://tailscale.com/) is a managed VPN service based on Wireguard that enable private networking between users, devices or machines. Clever Cloud provides a native integration of Tailscale, by mounting a VPN endpoint for each of your application's instances.
Expand Down
Loading