Hosting projects
A project with a docker-compose.yml runs on Vexyline Cloud (Plus: one project, Pro: three) or on
your own host, at https://NAME.vexy.online and on your own domains.
From your folder to the web
- Zip the project's folder and import it into a server's Library (
node_modules, build output,.gitand.envfiles are left out). - ⋯ → Host on the web. Set its variables (what
.envheld) — sealed on the host. - Deploy. A newer
.zipupdates it (⋯ → Update from a newer .zip, then Deploy again).
vexyline.json
An optional file at the project's root:
{
"expose": { "service": "web", "port": 3000 },
"websockets": true
}
| Field | Meaning |
|---|---|
expose |
The service and port that answer the web. Without it: a service named web, app or frontend with a port. |
websockets |
Let WebSocket connections reach the project (off by default). Read at each deploy; also a switch in the project's sheet. |
What a project may do
The compose file is made safe before it runs: no privileged containers, host network or PID, devices, added capabilities or folders of the host; only the exposed service is reachable (through Vexyline); memory, CPU and processes are limited by the plan. Named volumes keep their data between deploys. Projects cannot reach each other.
One address for everything. Only one service is reachable, so let your web service forward
/api, /uploads and /socket.io to the others inside the project (Next.js rewrites, an nginx
location, Vite server.proxy…).
WebSockets
With websockets on, upgrades to the project's addresses are joined to your service byte for byte.
Each project has a limit of open connections (200 on the Cloud) and a connection with no traffic for
10 minutes is closed — send a ping every minute or let your library reconnect (socket.io does). Your
service sees X-Forwarded-Host and X-Forwarded-Proto.
The address name
NAME comes from the project's name, or set it in the sheet (Change the address name): 3–40
lower-case letters, digits and single dashes. Names like www, api, admin, mail are kept by
the service. Changing it frees the old name at once.
Your own domain
Add it in the project's sheet, then at your DNS provider:
TXT _vexyline-challenge.shop.example.com— the value shown (proves it is yours);- a subdomain:
CNAME shop → NAME.vexy.online; - the bare domain: the
A/AAAAaddresses shown (or ALIAS / flattened CNAME).
Check, and the certificate is made on the first visit.