Learn how to create your Square Cloud configuration file
squarecloud.app
or squarecloud.config
and add the configuration parameters inside it.
Choose extension
squarecloud.app
or squarecloud.config
, whichever you prefer. Tip: use .app to help promote Square Cloud. 🥰😂
Create file
Parameter | Type | Editable | Limit | Usage |
---|---|---|---|---|
MAIN* | String | ❌ | 32 chars | Defines the main application file. Ex.: index.js , main.py , etc. |
VERSION* | String | ❌ | - | Language version (Ex.: recommended ). |
MEMORY* | Integer | ✅ | - | Amount of memory in megabytes. |
DISPLAY_NAME* | String | ✅ | 32 chars | Display name of the application. |
DESCRIPTION | String | ✅ | 280 chars | Description/metadata of the application. |
AUTORESTART | Boolean | ✅ | - | Auto-restart (true or false ). |
START | String | ✅ | 256 chars | Custom start command. |
SUBDOMAIN | String | ✅ | 63 chars | Website subdomain (if applicable). |
MAIN [*]
MEMORY [*]
VERSION [*]
recommended
, latest
or specific version
recommended
for optimal stability.Language | recommended | latest |
---|---|---|
JavaScript [Node.js] | 22.18.0 | 24.5.0 |
Python | 3.13.6 | 3.13.6 |
Java | JDK 23 | JDK 25 |
Elixir | 1.18.4 | 1.18.4 |
Rust | 1.89.0 | 1.89.0 |
PHP | 8.4.11 | 8.4.11 |
Go | 1.24.6 | 1.24.6 |
C# | 9.0.1 | 9.0.1 |
DISPLAY_NAME [*]
DESCRIPTION
AUTORESTART
true
, false
| Default: false
Defines whether the application should automatically restart on failure.SUBDOMAIN
undefined
Defines the subdomain for your site (web applications only).mysite.squareweb.app
START
undefined
Defines a custom start command.mysite.squareweb.app
next.config.js
as MAIN is only used to let the system recognize the project as a JavaScript or TypeScript project (another .ts/.tsx file)