Last month I was searching on YouTube and found a free container called Uppcoder—it offers one free Stack. And the specs they give are pretty generous.
The official site lists the free Spark tier at €0/month, free forever, status Active:
- 1 Stack: 1 always-on app stack, including 1 database
- 2GB RAM, 2GB disk (per Stack)
- 500 CPU seconds per day (per Stack)—i.e., 1 second at 100% CPU counts as one; most of the time you won't hit 100% CPU anyway.
- Always online, no sleep: both the panel and pricing page say "1 always-on stack", and there's no sleep warning.
- In-browser editor, terminal, SSH: included in the free tier too
- Automatic TLS certs: deployed apps get HTTPS out of the box, but the free tier doesn't allow custom domains—you have to use the domain they give you.
- Nightly backups: also included in the free tier. Each app's files and database are backed up daily to another server, keeping one daily backup for the last 7 days and one weekly backup for the last 4 weeks.
Per Uppcoder's official supplementary terms:
Section 7.1 of the Terms of Service explicitly says you can't run tunnels or proxies on it. VPNs and tunnels are not allowed on Uppcoder; otherwise such apps will be automatically stopped and the account closed.
Usage on the free tier:
The free tier itself costs nothing and won't auto-charge you. Signing up, email verification, deploying and deleting Stacks back and forth are all free, and there was no card-binding or anything like that, so for now you can relax. That said, the platform is very new—it only launched in mid-October 2026—so whether it's stable remains to be seen.
I messed around with it for a long time before I finally got a Node project deployed and the frontend accessible. The annoying part is the site has very little documentation, so it was all trial and error. Here's the whole process, so you can avoid the pitfalls (I've already stepped in all of them for you).
-
Sign up. I won't say much about this step. I'd suggest just using GitHub directly—otherwise you'll sign up with email and then still have to link GitHub, so you might as well do it in one step.
-
Create a Stack. The first Stack is free; if you want to create more later, it's paid.
Here you can choose Next.js and Express, which support Node—of course you can also choose something like Jam.py for Python; it's up to you. My project is just basic Express, so I picked Express + SQLite.

-
Configure the Stack; just follow the screenshots. One thing to note: I chose Express + SQLite above, so by default there's an Express component to configure, and SQLite is an optional config item. If needed, you can pick the corresponding database item on the right—everything highlighted on the right is a selectable database. Don't let the word SQLite throw you off; you can even choose MySQL, PGSQL, etc. as the database. Which one to pick mainly depends on which database your project integrates. My project uses SQLite integrated by default in Node, so I didn't select a database plugin.
Here's the project I deployed for reference (feel free to hit Start and Fork):
https://github.com/hakd-code/gallery.git

-
Click Deploy in the upper right to deploy, wait a bit and it'll be done. You'll get an email when it's finished. The screenshot below shows what it looks like after a successful deployment.

At this point, when you click to visit the site, you'll find the frontend returns an nginx 502—basically, it's not connecting. This is where I fumbled around for ages, checked a bunch of docs, and asked AI a lot of questions before finally getting it working.

-
From the screenshot above, open the web SSH version. There you can directly SSH into the whole Stack container.

I found that even running npm start here, the frontend still wasn't accessible. It wasn't until I stumbled into the logs directory and read all the log output that I found the basic entry point. When this Stack starts, it looks for an index.js file and listens on port 8000.

Kept digging and found /opt/start-scripts/start-express.sh, the main file when the container starts. After reading the source carefully, I found the startup script's logic is very clear, and the platform itself has a dedicated custom startup hook!
From the start-express.sh source, you can see two core mechanisms:
- Custom entry point has highest priority: lines 38–41 of the script state that as long as
/home/uppcoder/app/startup-app.shexists, it skipsnode --watch index.jsbelow and runs yourstartup-app.shinstead. - Port env var is
APP_PORT: the platform expects your app to listen on${APP_PORT:-8000}by default (i.e. port 8000), while myserver.jsreadsprocess.env.PORTand uses port 3100.
start-express.sh script contents, take a look if you're interested
#!/bin/bash
# =============================================================================
# Start Express.
#
# Express is a BACKEND: it has no /api proxy to generate, it is the thing other
# tiers proxy AT. What it needs from service discovery is the other direction --
# the database it was composed with.
#
# Nothing can pre-install a database client, because a combination expressed as
# a template row does not know its database until it is provisioned and the
# platform offers 21 of them. So the connection string's SCHEME decides, and
# the client is installed on first start and written into package.json.
# =============================================================================
set -eo pipefail
APP_DIR="${APP_DIR:-/home/uppcoder/app}"
_START_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=lib-service-discovery.sh
. "$_START_DIR/lib-service-discovery.sh"
main() {
cd "$APP_DIR"
if ! command -v npm >/dev/null 2>&1; then
echo "ERROR: npm not found. No Node.js environment available." >&2
ls -1 /opt/pixi/.pixi/envs/ 2>/dev/null >&2 || true
exit 1
fi
if [ ! -d node_modules ]; then
echo "Running npm install..."
npm install
fi
ensure_node_db_client
if [ -f "$APP_DIR/startup-app.sh" ]; then
echo "Running user startup command..."
exec bash "$APP_DIR/startup-app.sh"
fi
# 🚨 --watch, because an agent's edit has to take effect without anybody
# knowing to restart anything.
#
# This was `exec node index.js`, which made Express the ONLY framework here
# that does not reload: every sibling runs a dev server that does (npm run
# dev for vite/next/nuxt/astro/svelte/preact/react/vue, npm run start:dev
# for nest, uvicorn --reload for fastapi).
#
# Measured 2026-09-11 on a builder project: the agent wrote correct routes
# at 11:58:28 against a process started 11:57:46, so the app kept serving
# the pre-edit file. A 404 on a route that is plainly in the source reads as
# a broken build -- and the agent then spent turns "fixing" Express 5
# routing and, on an earlier run, unset DATABASE_URL and started its own
# database, because the evidence in front of it said its code was not
# running. It was not; nothing had restarted it.
#
# Stable since Node 22 (the fullstack-node env ships 22.13). Fall back if
# the runtime is older, so a changed pixi env cannot leave a dead app.
# 🚨 NOT `node --watch --eval ""` -- node refuses that combination outright
# ("either --watch or --eval can be used, not both", exit 9), so the probe
# failed on a runtime that supports --watch perfectly well and every app
# silently took the fallback. Ask whether the flag EXISTS instead.
if node --help 2>/dev/null | grep -q -- "--watch"; then
echo "Starting Express on port ${APP_PORT:-8000} (watching for changes)..."
exec node --watch index.js
fi
echo "Starting Express on port ${APP_PORT:-8000} (no --watch on $(node -v))..."
exec node index.js
}
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
main "$@"
fi
-
Once you understand how the Stack runs from the above, solving the problem is easy.
Either write a startup-app.sh that starts the project directly, or rename the project's server.js to index.js and make it listen on port 8000 by default when the project starts. Both approaches work. -
I wrote a startup-app.sh myself.
# 写入startup-app.sh文件
cat << 'EOF' > /home/uppcoder/app/startup-app.sh
#!/bin/bash
export PORT="${APP_PORT:-8000}"
exec npm install
exec npm run seed
exec npm start
EOF
# 给文件添加执行权限
chmod +x /home/uppcoder/app/startup-app.sh
# 重启框架模块
supervisorctl restart framework
-
Visited the project URL again and it works now.
Screenshot share: https://px331bi9-express-pic.apps-5.websson.cloud/

-
Adding the SSH part.
This container supports SSH. Besides the origin's web SSH mentioned above, you can also connect with your own SSH tool.
First, create a key for SSH in the settings section. After creating it, the file will usually be downloaded automatically to your computer—on Windows it generally goes to your Downloads folder, so go find it yourself.

Find the corresponding SSH block in Stack; it tells you exactly how to SSH. You can absolutely copy that string of info and run it directly in PowerShell on Windows, but it'll most likely throw an error. That's because the file you downloaded has permissions that are too broad—the system requires you to restrict it to read-only for the current user.

So the best way is to upload the downloaded uppcoder_20261109-161014_ed25519 file (filenames differ by user and generation time—change it to your own filename here) to your Linux system, which makes permission control easier. For example, I uploaded mine to /root under the WSL Ubuntu 22.04 subsystem on Windows, gave it 600 permissions first, then used the string SSH gave me with the filename corrected, and SSH worked perfectly.
root@IWKPC:~# ls
uppcoder_20261109-161014_ed25519
root@IWKPC:~# chmod 600 uppcoder_20261109-161014_ed25519
root@IWKPC:~# ssh -i uppcoder_20261109-161014_ed25519 -o StrictHostKeyChecking=accept-new -p 2222 [email protected]
Warning: Permanently added '[px331bi9-express-pic.apps-3.websson.cloud]:2222' (ED25519) to the list of known hosts.
Environment: web-express
Two pixi environments available:
default - System tools | add <pkg>, remove <pkg>
web-express - Framework packages | pixi add <pkg>
Quick commands:
add vim # Install vim
pixi add numpy # Add numpy to your app
supervisorctl # Manage services
uppcoder@uppcoder:~/app$ ls
README.md docs node_modules package.json pixi.toml server.js startup-app.sh
data index.js package-lock.json pixi.lock public src tests
uppcoder@uppcoder:~/app$
Summary:
Since there's no documentation, it was all trial and error. Fortunately, I've now figured out how the project runs.
The start-express.sh file is the execution entry point, and you can do a lot of things there—including setting up nodes and whatnot—but I don't recommend it, since you might get your account deleted.
Different projects may have different entry points. This guide mainly uses Express + SQLite as an example. If you want to know how a project loads, just check the corresponding logs and it'll be clear.
Uppcoder signup link (includes custom-source AFF, to help identify the referral source):
#AFF https://portal.uppcoder.com/?utm_source=nodeloc&utm_medium=tutorial&utm_campaign=hakd
Demo Node project URL (feel free to use, Start, Fork):
https://github.com/hakd-code/gallery.git
上个月在youtube上搜索,发现了一个免费容器uppcoder,有一个stack的免费容器。而且给的配置很是大方。
官网声明免费档 Spark 价格:€0/月,永久免费,状态 Active
- 1 个 Stack:1 个常驻应用栈,含 1 个数据库
- 2GB 内存、2GB 磁盘(每个 Stack)
- 每天 500 CPU 秒(每个 Stack),即CPU 100%运行1秒算一次,大多数都不会出现100%CPU的情况。
- 常驻在线不休眠:面板和定价页都写的是 "1 always-on stack",没出现休眠提示
- 浏览器内编辑器、终端、SSH:免费档也含
- 自动 TLS 证书:部署的应用自带 HTTPS,但免费档不能自定义域名,得使用他给的域名
- 每晚备份:免费档也含,每个应用的文件和数据库每天备份到另一台服务器,保留最近 7 天每天一份、最近 4 周每周一份
应Uppcoder官方补充说明条款:
服务条款7.1中明确有说明不能在上面开隧道、代理。VPN 和隧道在 Uppcoder 上是不允许的,否则这类应用会被自动停掉、账户会被关闭。
免费档的用度情况:
免费档本身不花钱,也不会自动扣费。注册、邮箱验证、来回部署和删除Stack全免费,也没有出现要绑卡啥的操作,所以暂时可以放心。不过这个平台很新,2026年10月中才上线的,能否稳定,还待验证。
我是来回折腾了很久,才成功将Node项目给部署上,并实现前端访问的。坑的是这个网站的说明文档真的很少,全靠自己摸索。下面说一下全过程,全程避免大家踩坑(坑我都帮大家踩完了)。
1、注册。这一步我就不多说了。建议使用GitHub直接来就好,免得使用邮箱注册后,还要再关联GitHub,还不如一步到位。
2、创建一个Stack,第1个Stack是免费的,后续再想多创建的话就是收费的了。
在这里可以选择支持Node的 Next.js 和 Express,当然你也可以选择 Jam.py 这种支持python的,主要看你自己了。我的项目只是基本的 Express的,所以我就选择了 Express + SQLite 这项。
3、配置Stack,按图片来即可。有一点需要说明,我上面选择的是Express + SQLite 这项,所以默认就有一个Express 组件要配置,SQLite是可选择的配置项,如果有需要可以从右侧选择对应的数据库项,右侧所有高亮的都是可选择的数据库,不要被SQLite这个词影响了,它甚至可以选择MySQL,PGSQL这种组成数据库,要选择哪个主要看你项目集成的是哪个数据库。我这个项目使用的是Node默认集成的SQLite,所以就不选择数据库的插件了。
我部署的项目地址,大家可以参考一下(欢迎点Start和Fork):
https://github.com/hakd-code/gallery.git
4、点击右上的 Deploy 完成部署,等待一下就可以完成了。完成后会收到邮件。下图是部署成功后的情况。
这个时候,你点击访问网站,发现前端返回的是nginx的502,说白了就是不通。我就是在这里自己摸索了好久,查了不少文档,问了AI不少问题才搞通的。
5、从上图中,进入ssh网页版本。在这里可以直接ssh操作整个Stack容器。
我发现在这里按 npm start 项目也是无法访问到前端的。直到我意外翻到了日志目录,看了所有日志输出才找到了基本的入口。这个Stack启动时,找的文件是 index.js 文件,并且监听了 8000 端口。
再继续找,发现了 /opt/start-scripts/start-express.sh 这个容器启动时的主要文件。仔细读了源码,发现这个启动脚本的逻辑非常清晰,而且平台本身专门预留了自定义启动钩子!
从 start-express.sh 的源码可以看出两个核心机制:
- 自定义入口优先级最高:脚本第 38-41 行写明,只要
/home/uppcoder/app/startup-app.sh存在,它就会直接跳过后面的node --watch index.js,转而执行你的startup-app.sh。 - 端口环境变量是
APP_PORT:即平台默认期望你的应用监听在${APP_PORT:-8000}(即 8000 端口),而我的server.js读取的是process.env.PORT,写的端口是3100。
start-express.sh 脚本内容,有兴趣可以看一下
#!/bin/bash
# =============================================================================
# Start Express.
#
# Express is a BACKEND: it has no /api proxy to generate, it is the thing other
# tiers proxy AT. What it needs from service discovery is the other direction --
# the database it was composed with.
#
# Nothing can pre-install a database client, because a combination expressed as
# a template row does not know its database until it is provisioned and the
# platform offers 21 of them. So the connection string's SCHEME decides, and
# the client is installed on first start and written into package.json.
# =============================================================================
set -eo pipefail
APP_DIR="${APP_DIR:-/home/uppcoder/app}"
_START_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=lib-service-discovery.sh
. "$_START_DIR/lib-service-discovery.sh"
main() {
cd "$APP_DIR"
if ! command -v npm >/dev/null 2>&1; then
echo "ERROR: npm not found. No Node.js environment available." >&2
ls -1 /opt/pixi/.pixi/envs/ 2>/dev/null >&2 || true
exit 1
fi
if [ ! -d node_modules ]; then
echo "Running npm install..."
npm install
fi
ensure_node_db_client
if [ -f "$APP_DIR/startup-app.sh" ]; then
echo "Running user startup command..."
exec bash "$APP_DIR/startup-app.sh"
fi
# 🚨 --watch, because an agent's edit has to take effect without anybody
# knowing to restart anything.
#
# This was `exec node index.js`, which made Express the ONLY framework here
# that does not reload: every sibling runs a dev server that does (npm run
# dev for vite/next/nuxt/astro/svelte/preact/react/vue, npm run start:dev
# for nest, uvicorn --reload for fastapi).
#
# Measured 2026-09-11 on a builder project: the agent wrote correct routes
# at 11:58:28 against a process started 11:57:46, so the app kept serving
# the pre-edit file. A 404 on a route that is plainly in the source reads as
# a broken build -- and the agent then spent turns "fixing" Express 5
# routing and, on an earlier run, unset DATABASE_URL and started its own
# database, because the evidence in front of it said its code was not
# running. It was not; nothing had restarted it.
#
# Stable since Node 22 (the fullstack-node env ships 22.13). Fall back if
# the runtime is older, so a changed pixi env cannot leave a dead app.
# 🚨 NOT `node --watch --eval ""` -- node refuses that combination outright
# ("either --watch or --eval can be used, not both", exit 9), so the probe
# failed on a runtime that supports --watch perfectly well and every app
# silently took the fallback. Ask whether the flag EXISTS instead.
if node --help 2>/dev/null | grep -q -- "--watch"; then
echo "Starting Express on port ${APP_PORT:-8000} (watching for changes)..."
exec node --watch index.js
fi
echo "Starting Express on port ${APP_PORT:-8000} (no --watch on $(node -v))..."
exec node index.js
}
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
main "$@"
fi
6、从上面了解了Stack的运行机制后,就很好解决问题了。
我们要么写一个 startup-app.sh ,在这个文件中直接启动项目,要么就将项目中的 server.js 改成 index.js 并默认启动项目时监听在8000端口就行。两种方向均可。
7、我自己写了一个 startup-app.sh 。
# 写入startup-app.sh文件
cat << 'EOF' > /home/uppcoder/app/startup-app.sh
#!/bin/bash
export PORT="${APP_PORT:-8000}"
exec npm install
exec npm run seed
exec npm start
EOF
# 给文件添加执行权限
chmod +x /home/uppcoder/app/startup-app.sh
# 重启框架模块
supervisorctl restart framework
8、重新访问项目地址,发现现在可以正常了
图片分享:https://px331bi9-express-pic.apps-5.websson.cloud/
9、补ssh这一块
这个容器是支持ssh的,除了上面介绍过的源站的webssh外,还可以用自己的ssh工具连接的。
先在设置这一块创建一个key for ssh,创建好后一般会自动将这个文件下载到你的电脑中的,Window电脑一般是下载到你的下载目录的,自己找一下。
找到 Stack中对应的ssh块,这里有明确告诉你如何ssh。你完全可以复制你的这一串信息,在你Windows中打开powshell后直接执行,但大概率会报错。因为你下载的这个文件的权限太大了,系统要求缩小权限为当前用户只读才行。
所以最好的方式是将这个下载好的 uppcoder_20261109-161014_ed25519 文件(不同用户不同时间生成的文件名不全相同,这里改成你的文件名哦)上传到你的linux系统中,这样方便做权限控制,例如我上传到的Windows中的WSL子系统 Ubuntu22.04下的/root 中,先给600权限,再用ssh中给你的串,将文件名改正确就可以完好的ssh了。
root@IWKPC:~# ls
uppcoder_20261109-161014_ed25519
root@IWKPC:~# chmod 600 uppcoder_20261109-161014_ed25519
root@IWKPC:~# ssh -i uppcoder_20261109-161014_ed25519 -o StrictHostKeyChecking=accept-new -p 2222 [email protected]
Warning: Permanently added '[px331bi9-express-pic.apps-3.websson.cloud]:2222' (ED25519) to the list of known hosts.
Environment: web-express
Two pixi environments available:
default - System tools | add <pkg>, remove <pkg>
web-express - Framework packages | pixi add <pkg>
Quick commands:
add vim # Install vim
pixi add numpy # Add numpy to your app
supervisorctl # Manage services
uppcoder@uppcoder:~/app$ ls
README.md docs node_modules package.json pixi.toml server.js startup-app.sh
data index.js package-lock.json pixi.lock public src tests
uppcoder@uppcoder:~/app$
总结:
由于没有文档,项目全靠自行摸索。但好在已完成了解项目的运行机制。
start-express.sh 文件是执行入口,可以在这里做很多想做的事情,包括建节点啥的,但我不建议大家这么做,毕竟有可能会删号。
不同项目的入口可能会不同,这里主要是以Express + SQLite 为说明,想知道项目的加载机制,可以看一下对应的日志就很清楚了。
Uppcoder 注册地址(含定制来源AFF,配合识别推广来源):
#AFF https://portal.uppcoder.com/?utm_source=nodeloc&utm_medium=tutorial&utm_campaign=hakd
演示Node项目地址(欢迎使用,Start, Fork):
https://github.com/hakd-code/gallery.git
Translated by AI from 简体中文Original (简体中文)

可以共享、可以push的免费邮箱,更可使用自定义域名,完美契合您的各项需求。
28 replies
Sort order