Docker app hosting
Docker app hosting in Europe
If it has a Dockerfile, it deploys. Push to Git and AppHaven builds the image, runs it in its own virtual machine in an EU datacenter and serves it on HTTPS, with managed PostgreSQL right next to it.
- €50 credit for 60 days
- No credit card required
- Hosted in the EU
Any stack that builds into a container
- Node
- Python
- Go
- Ruby
- PHP
- Rust
- Java
- Elixir
How it works
From git push to a running container.
No registry, build pipeline, server or proxy to set up. You push, AppHaven does the four steps in between.
-
01
Push your repository
Your Dockerfile and a short apphaven.yaml that lists the services. Push to Git, nothing else to run.
-
02
AppHaven builds the image
In a fresh build environment, once per commit, and scanned for known vulnerabilities.
-
03
It runs in its own machine
Every deployment gets a virtual machine in an EU datacenter. Services start in order, database first.
-
04
Live on HTTPS
Declared ports are served on your URL with certificates handled. Backups and logs are already there.
Coming from Docker Compose
You already know the manifest.
apphaven.yaml uses the vocabulary of Compose: services, ports, environment, volumes, healthchecks and start order. The differences are the parts AppHaven takes off your hands.
services: web: build: . ports: - "3000:3000" environment: DATABASE_URL: postgres://app:secret@db/app volumes: - uploads:/app/uploads depends_on: db: condition: service_healthy db: image: postgres:17 environment: POSTGRES_PASSWORD: secret volumes: - pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD", "pg_isready"]volumes: uploads: pgdata: version: 1services: web: type: container build: dockerfile: Dockerfile ports: - 3000 env: DATABASE_URL: ${service.db.url} volumes: - name: uploads mount_path: /app/uploads depends_on: - service: db condition: healthy db: type: postgres version: "17"volumes: uploads: type: persistent
Your coding agent can write it, and apphaven validate checks it before you push. Manifest documentation
Isolation
Your containers, in a machine of their own.
- A machine per deployment. Production, every preview and every other customer's app run in separate virtual machines. Your containers never share a kernel with anyone else's code.
- Every deployment is isolated. Production and each preview have their own private network, so whatever you try on a preview stays on the preview. The platform enforces it underneath your app.
- Clean builds, one image per commit. Every build starts in a fresh environment at the exact commit you push. Promote a tested preview to production and the same image goes live, without a rebuild.
- Your data stays in the EU. Choose an EU datacenter when you create the app and its data stays there. AppHaven is a European company on European infrastructure.
Push your Dockerfile and see it run.
€50 free credit for your first 60 days. No credit card required.
What you can run
Everything your containers need.
If your code is in a Git repository and the app runs in a container, AppHaven can host it.
Build from source or pull an image
Build from your Dockerfile with the context and build args you set, or pull a prebuilt image from any registry by tag or digest.
Several services, one deployment
A web service, a worker and a managed PostgreSQL database in one manifest. Services reach each other by name on a private network.
Healthchecks and start order
Declare a healthcheck and let other services wait for it with depends_on. The managed database comes with one built in.
Volumes for files
Mount a persistent volume for uploads or data. It survives every redeploy and production volumes are in the nightly snapshot.
Monorepos
Build several services from one repository by giving each its own build context, such as api and frontend.
Deploy from GitHub
Install the AppHaven GitHub App on the repository. Pushes to the production branch release, preview branches run as previews.
Shipping updates
The next push, without the risk.
Every deploy runs in an order that protects the version that is already live.
- 1
The running version keeps serving
The new image builds first. If the build fails, production is untouched and the full log is in the Builds tab.
- 2
Only what changed restarts
Services whose image or configuration changed are replaced. Volumes and the database carry over, on the same URL.
- 3
Branches get their own preview
Push a preview branch and it runs on its own URL with its own database, so a change is tested before production.
Want the full lifecycle? What happens when you deploy
Questions
Good to know.
Can I use my existing docker-compose.yml?
AppHaven uses its own manifest, apphaven.yaml, which covers the same ideas: services, ports, environment, volumes, healthchecks and start order. Translating a compose file is quick, and the CLI validates the result.
Which base images and languages work?
Any image that runs on Linux: Node, Python, Go, Ruby, PHP, Rust, Java and more. If your Dockerfile builds, it deploys.
Can I run a prebuilt image from my registry?
Yes. Set image instead of build on the service and AppHaven pulls it. Pin a specific tag or digest so you know exactly what runs.
Does my container share a server with other apps?
Each deployment runs in its own virtual machine with its own operating system, so your containers never share a kernel with another customer's code. Production and every preview get a machine of their own.
Where do environment variables and secrets go?
In the console, per app and per preview. They are injected into the container at start and never stored in the repository.
Can I move my app somewhere else later?
Yes. AppHaven builds with a standard docker build from your own Dockerfile, with no base image or SDK of its own. The database is standard PostgreSQL that exports with pg_dump, and apphaven.yaml maps directly onto a Docker Compose file.
Your containers, hosted in Europe.
Push your repository and see it run, without building the infrastructure yourself.
- €50 credit for 60 days
- No credit card required
- Hosted in the EU