Docker hosting, fully managed.
Push your Dockerfile.

Run your app from your own Dockerfile on HCode, managed app hosting from HostAfrica. Any language your image runs, with a PostgreSQL database and no server to look after.

Billed monthly. Cancel anytime.

One pushPush to main and it is live. No servers to set up, no config to fight, just a URL you can send to someone.
PostgreSQLYour database sits right next to your app and gets backed up every day. Grab the connection string and get on with it.
SSL and rollbacksHTTPS is on from the first deploy. Shipped something broken? Roll back to the last good one and breathe.
From R50/moOne flat price in Rands. No dollar surprises when the exchange rate moves, no guessing what next month costs.

Your Dockerfile first.The rest of your stack too.

HCode builds the image from your Dockerfile and runs it. No Dockerfile? It detects Node.js, Python, Go, Ruby and PHP projects and builds them for you, beside managed PostgreSQL and Redis.

Read the docs

Your ambition.A plan to match.

Start small. Make something that matters. Grow from there.

Billing period
HCode plans compared
SoloSmall beginnings. Big possibilities.DeveloperMore room for your next release.ProA home for your production apps.TeamYour whole team. One platform.Enterprise

R50/mo

Billed monthly

R45.83/mo

R550 billed yearly

Save 8%

R200/mo

Billed monthly

R183.33/mo

R2,200 billed yearly

Save 8%

R999/mo

Billed monthly

R916.58/mo

R10,999 billed yearly

Save 8%

Custom

Talk to sales
Projects3520Custom
DatabasesPostgreSQL or Redis1320Custom
Compute
RAM1 GB4 GB16 GBCustom
Storage10 GB20 GB80 GBCustom
Usage and features
Backup retentiondaily backups3 days7 days60 daysCustom
Enterprise
Single sign-onSAML / OIDCNot includedNot includedNot includedIncluded
Invoiced billingannual contractNot includedNot includedNot includedIncluded

Every plan includes

  • Managed PostgreSQL
  • Custom domains & SSL

All prices in ZAR. Annual figures show the monthly equivalent, billed yearly.

From git pushto a live container.

Connect a GitHub repository or upload a .zip with your Dockerfile. HCode builds the image, starts the container and serves it with SSL, from a small API to a full web app.

Create a project

Deploy to My Organization

  1. 1Source
  2. 2Build settings
  3. 3Details
GitHubDeploy from repo
UploadDeploy a .zip

Import from GitHub

your-next-big-ideamainConnected
Continue

Create a project

Deploy to My Organization

  1. ✓Source
  2. 2Build settings
  3. 3Details

Build

  1. $ git push origin main
  2. Repository connected: main
  3. Dockerfile detected: building image
  4. Building image...
  5. Build complete

Create a project

Deploy to My Organization

  1. ✓Source
  2. ✓Build settings
  3. 3Details

your-next-big-idea

Live
  1. Provisioning app + PostgreSQL in South Africa…
  2. SSL configured
  3. Deployment complete

Your image, your way.The servers are ours.

A Dockerfile lets you choose the language, the system packages and the setup. HCode takes it from there: it builds the image, runs the container and keeps it online.

  • Your Dockerfile, built and run.

    HCode builds the image from the Dockerfile in your repository and runs it. Multi-stage builds and build arguments work, and a start command can override the image CMD.

  • Any language your image runs.

    Rust, Java, .NET, Elixir or a setup no detector expects: if it builds in a Dockerfile, HCode runs it. Your app listens on the PORT that HCode sets, on 0.0.0.0.

  • PostgreSQL and Redis beside it.

    Every HCode plan includes managed databases. Keep the data that must last in PostgreSQL or Redis, on the same private network as your container, backed up every day.

  • Secrets stay out of the image.

    Set API keys, tokens and the database URL as environment variables in the panel. They are stored encrypted and reach the running container, never the image you build.

  • Your domain, with SSL.

    Every project gets a free subdomain on its first deploy. Connect your own domain and HCode provisions its SSL certificate automatically.

  • Push, deploy, roll back.

    Every push builds a new image and deploys it without downtime. A failed build never replaces the live container, and the last good release is a click away.

More than a container host.The toolchain comes with it.

Managed PostgreSQL and Redis, custom domains with SSL, daily backups and rollbacks come with every HCode plan, so your container runs in production from its first deploy.

  • A database, not a detour.

    Managed PostgreSQL and Redis alongside your app, on its own private network. Keep your data close and your setup simple.

  • Secure from the start.

    Your own domain with automated SSL, encrypted secrets and built-in backups. The essentials come with you.

  • Go forward. Roll back.

    A new release goes live without downtime, and one that fails its checks never replaces the app that is running. Need the last one back? Roll back in a click.

One platform.Three ways to build.

Side projects, SaaS products and client work all deploy the same way on HCode. Here is what that looks like for you.

Developers

Less config.More creation.

Give your next side project a real home. Connect your repository and get back to the part you love: building.

  • Framework detection
  • Git deployments
  • Live build logs

SaaS teams

Build the product.Keep your momentum.

Keep your app, its database and its background workers together, with the building blocks your product needs as it grows.

  • Managed PostgreSQL
  • Environment variables
  • Rollbacks

Agencies

Client work.Without the busywork.

A modern workflow for every client. Every project gets a free subdomain the moment it deploys; add the client’s own domain when they are ready, give each teammate the right role, and bill predictably in Rands.

  • Multiple projects
  • Custom domains
  • Free subdomains

Tell us what you are building and we will help you choose.

code.

Let’s buildsomething great.

Tell the HostAfrica team what you have in mind. They’ll help confirm HCode availability and the right plan for your project.

Opens HostAfrica’s contact page. No account or payment is created here.

So, why HCode?Let’s compare.

Chances are you have shipped on Vercel, Netlify, Railway or Render, or your AI builder does it for you. All good tools. Here is what changes when your app and its database live in South Africa.

code.VercelNetlifyRailwayRender
App runs in South AfricaYes: Yes, by defaultCape Town on request; defaults to Washington, D.C.No African regionUS, Netherlands, SingaporeUS, Germany, Singapore
Database beside the appYes: Managed PostgreSQL, same placeThrough a marketplace partnerThrough a partner-backed databaseManaged PostgreSQL, same regionManaged PostgreSQL, same region
Billed inYes: RandsUS dollarsUS dollarsUS dollarsUS dollars
Where you startYes: From R50/mo, always onFree Hobby plan, personal and non-commercial use onlyFree plan with a credit capA one-off trial credit, then a paid planFree instances sleep after 15 minutes idle
Push from GitHub, custom domain, SSLYes: YesYesYesYesYes
SupportYes: A South African team, in your time zoneGlobalGlobalGlobalGlobal

Docker on HCode,questions answered.

Have something else in mind?

Talk to our teamBrowse the docs

How does HCode run my Dockerfile?

Connect the GitHub repository or upload a .zip that holds your Dockerfile. HCode builds the image and runs it. If the image sets a CMD, that is what runs; a start command in the panel overrides it. HCode sets PORT, so listen on that port on 0.0.0.0.

Can I deploy an image from Docker Hub or use Docker Compose?

Not today. HCode builds your app from your Dockerfile in a GitHub repository or a .zip, so it does not pull prebuilt images from a registry, and Docker Compose is not supported. Each project runs one app; run a database beside it as managed PostgreSQL or Redis.

Where should my data live?

In a database. Files written inside the container do not last: they are cleared when the app deploys or restarts. Keep data that must last in managed PostgreSQL or Redis, which HCode backs up every day.

Do my environment variables reach the build?

Project environment variables reach the running container, not the Dockerfile build. Pass build settings as build arguments, and keep secrets out of them; HCode can mount build secrets for the step that needs them.

Is a database included?

Yes. Managed PostgreSQL and Redis come with every HCode plan, sit on a private network beside your container and are backed up every day. The plan table on this page shows how many databases each plan includes.

Do I have to manage a server?

No. HCode is managed hosting. HostAfrica runs the servers, the build machines and the databases; you push your Dockerfile and manage your apps from the HCode panel.

What support do I get?

HostAfrica support is available 24/7, and live chat is open during business hours. The HCode docs cover the platform step by step.

How do I get started?

Pick a plan on this page and order it in the HostAfrica panel, then connect your repository. Not sure which plan fits? Talk to our team and we will help you choose.