On this page

Environment Variable Reference

Commons to all applications

Set by the deployment process

These are read-only variables that are generated for each scaler before they build and start your application.

Variables you can define

So you can alter the build&start process for your application.

Tailscale support

Tailscale 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.

Note that Reusable keys are required to use multiple instances. You can generate one here.

How it works?

For a given application with TAILSCALE_AUTH_KEY configured, each instance will be configured to join a Tailscale network. Instances will be named after your configured name, suffixed with the INSTANCE_NUMBER : CC-<NAME>-<INSTANCE_NUMBER>. If you have multiple instances and use one of them for being an admin instance (using INSTANCE_NUMBER), you can match the instance from your deployment to reach it over VPN.

If TAILSCALE_LOGIN_SERVER is provided, the agent will be configured to reach an alternative control server. Note that using your own control server is at your own risks, and Tailscale can’t be responsible. An alternative control server can still be useful to use for constraints environements. Headscale is an example of self-hosted implementation of the Tailscale control server that can run on Clever Cloud.

Docker

Docker Documentation

.NET

.NET Documentation

Elixir

Elixir Documentation

Go

Go Documentation

Haskell

Haskell Documentation

Java

Java Documentation

Node.js

Node.js Documentation

PHP

PHP Documentation

Python

Python Documentation

Ruby

Ruby Documentation

Rust

Rust Documentation

FS Bucket

FS Bucket Documentation

MongoDB

MongoDB Documentation

MySQL

MySQL Documentation

ProxySQL

ProxySQL Documentation

PostgreSQL

PostgreSQL Documentation

Pgpool-II

Pgpool-II Documentation

Elastic Stack

Elastic Stack Documentation

Blackfire

New Relic

Pulsar

Redis

Redis Documentation

Socks

VPN

The VPN addon provides a fixed-ip outgoing node. This can be used to work with services protected by ip address filtering. VPN_ADDON_* variables will be provided by Clever Cloud upon setup, the only configuration you have to provide is a list of CIDRs (eg. 1.2.3.0/24) for which you want the traffic to be routed through the exit node.

Comments