Docker or Git Deploy
Push a Dockerfile or connect your Git repo. Hostim builds the image and runs the Node server behind HTTPS.
Deploy Astro sites to a managed Docker platform. Works with the Node adapter for SSR, or as a static build. No serverless limits, no cold starts.
# Dockerfile
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
EXPOSE 4321
CMD ["node", "./dist/server/entry.mjs"]Astro can build two different kinds of output, and they have different hosting needs.
The default. npm run build produces plain HTML, CSS, and JS in the dist/ folder. Any static file host or CDN can serve it. On Hostim you can still deploy it in a container (e.g. behind Caddy or Nginx) if you want the same workflow as your dynamic services.
When you install @astrojs/node and set output: 'server', Astro emits a long-running Node server. That server needs a container, a port, and a persistent runtime — not a serverless function. This is where most static-focused hosts fall short.
A production SSR Astro setup looks like a regular Node web service:
@astrojs/node runs in a container, usually on port 4321 or 3000.import.meta.env.A managed Docker platform that maps directly to the SSR Astro runtime.
Push a Dockerfile or connect your Git repo. Hostim builds the image and runs the Node server behind HTTPS.
Deploy a static Astro build in a Caddy or Nginx container. Same dashboard, same pricing, no separate CDN product.
Add Postgres, MySQL, or Redis with one click and connect from your Astro app via environment variables.
Workloads run in Germany (Falkenstein). Low latency for European users and GDPR-friendly by default.
For a static Astro build, many providers will host it for free. For SSR, the free tiers usually have trade-offs:
Free tiers are fine for prototypes. For a production site with real traffic, a small paid container is usually cheaper and more predictable than scaling a serverless plan.
Static host (Netlify, Cloudflare Pages, GitHub Pages): great for pure static output, but SSR means adding serverless functions with their own limits and pricing model.
Container host (Hostim, Fly, Render): one deploy target whether your Astro app is static or SSR. The runtime is the same Node server you run locally.
@astrojs/node and set output: 'server' for SSR. npm ci && npm run build, then starts node ./dist/server/entry.mjs for SSR or serves dist/via Caddy for static.import.meta.env.Get your Astro site running in minutes.
Yes. Static Astro builds run from a small Node container that serves the dist folder. SSR Astro builds run as a long-lived Node app — Hostim treats both the same way.
Yes. With the Node adapter, Astro server endpoints run inside the container behind HTTPS, with logs and metrics included.
A typical Astro deployment on Hostim is one app container plus one managed database. The app starts at €2.50/month and the database is free on the included tier, so a small production stack runs from €2.50/month.
In Germany. Hostim apps and databases run on bare-metal servers in Falkenstein, with no AWS, GCP or Azure dependency — so data stays in the EU and GDPR compliance stays simple.
Yes. Managed PostgreSQL, MySQL and Redis attach via environment variables — useful for SSR Astro apps with dynamic content.