Docker Compose hosting: web, API and worker as one app, in the EU
Put a project with a compose file online without a server of your own. Frontend, API and worker run as one app with one address, and the database is managed.
A lot of projects run locally with docker compose up: a frontend, an API, a worker, plus PostgreSQL and Redis. On a server of your own you copy that compose file over as it is and then look after everything around it. On blitz.cloud you connect the GitHub repository instead. The wizard reads the compose file, and the services from your project go online as one app with one HTTPS address, on servers in the EU. The database doesn't run as a container next to the app. It becomes a managed database with a nightly backup.
This guide says what happens to each service in your compose file, what it costs and where the limits are.
What happens to your compose file
You put the repository online through "My own code". If it has a docker-compose.yml, a compose.yaml or a similar file, the wizard picks the one that describes the project in production, not the one for development. It sorts every service and shows you the result before anything is built:
| Service in the compose file | What blitz.cloud makes of it |
|---|---|
| A frontend built from your project | A part of the app, at / |
| An API from your project | A part of the app, on its own path such as /api |
| A worker, bot or scheduler from your project | A part that runs in the background and needs no address |
| A migration that runs once and exits | A step before every new version |
| PostgreSQL, MariaDB or Redis | A managed database whose connection details reach the parts as settings |
| nginx, Caddy or Traefik as a router | Left out. The app's address sends each path to the right part itself |
| Development tools such as Mailhog or Adminer | Left out, with the reason |
| Someone else's image that isn't built from your project | Left out of the app. You can put it online as an app of its own |
Every service that is left out gets one sentence on why. If you only want one of the services online, you can do that too.
The parts of an app
What is left is what the dashboard calls the parts of an app:
- All parts are built in one build, updated together and, if needed, put back to an earlier version together.
- A part can have a Dockerfile of its own, or several parts start the same image with different commands.
- Parts find each other by name, the way they do in compose. A setting like
BACKEND_SERVICEis filled in with that part's address inside your account. - A step can run before each new version, such as a database migration. If it fails, the version you had stays online and the Activity tab shows what the step printed.
- On the app's Settings tab, the Parts section changes start commands and paths or switches a part off. The Logs tab shows each part's output on its own.
- An app has at most eight parts.
The reference for all of this is deploy from GitHub in the docs, under "Several services in one repository".
Managed databases instead of database containers
A PostgreSQL container in a compose file keeps its data in a volume, and the backup is your job. Here the wizard creates a managed database instead: PostgreSQL 17, MariaDB 11.4 or Redis (as Valkey 8). The parts get the connection details as settings, such as DATABASE_URL. The database has no public address and is backed up every night on every plan. More under databases.
An app is connected to one database. If your project needs two, PostgreSQL and Redis for example, the wizard says which one it creates and which setting you have to fill in for the second. We don't offer MongoDB. A project that needs it has to run MongoDB somewhere else.
Connecting several apps
Not everything has to go into one app. If a service runs as an app of its own, because it is someone else's image for example, you connect the two in the infrastructure designer by drawing a line. The first app then gets the other one's internal address as a setting, such as API_URL, and calls it without a detour over the internet. While the first app is awake, the connected one stays awake too.
What it costs
Every part that keeps running counts as one of your plan's apps. The step before each new version doesn't, and neither does a part you switched off. A project with a frontend, an API and a worker takes three.
| Free | Pro | |
|---|---|---|
| Price | 0 EUR | 9 EUR a month or 90 EUR a year |
| Apps (every running part counts) | 5 | 50 |
| Memory for everything together | 512 MB | 4 GB |
| Managed databases | 1 | 5 |
| Parts people visit | Sleep after 30 minutes without a visit | Stay awake |
On the free plan only the parts people visit go to sleep. A worker keeps running while the frontend sleeps, but it stops once nothing has happened on your account for 24 hours. A sleeping part wakes when a person opens it in a browser, not when a webhook or another program calls it. If a project has to answer at any hour, Pro is the plan for it. Every number is on the pricing page, and prices include VAT.
Compose here or on your own server
Your own server with docker compose up | blitz.cloud | |
|---|---|---|
| Setup | Order a server, install Docker, copy the compose file | Connect the repository, check the parts the wizard found |
| Reverse proxy and HTTPS | Traefik or Caddy, set up and renewed by you | Built in, / and /api are routed for you |
| Database | A container with a volume, backed up by you | Managed, backed up every night |
| New versions | git pull and docker compose up -d on the server | Every push builds a new version, and the old one stays up until the new one works |
| System updates and firewall | Your job | Our job |
Privileged containers, the Docker socket, docker compose exec | Yes | No |
The longer comparison is blitz.cloud or your own VPS. If you are looking for a place to keep containers running for a business, with prices and the DPA, start at Docker hosting.
What doesn't carry over from compose
- You can't upload a compose file on its own. It goes through a GitHub repository, and we build from that.
- There are no privileged containers and no access to the Docker socket. Every app runs in a sandbox of its own.
- Our servers are x86. An image that only exists for arm64 won't run, so build with
--platform linux/amd64. - There is no terminal into the app, so there is no
docker compose exec. - Outgoing mail on ports 25 and 465 is blocked. On Pro and Business it goes through your own mailbox on port 587, see send mail from your app.
- Databases have no public address, so you can't connect
psqlfrom your laptop directly.
If you need any of that, a server of your own with Docker is the better choice. Otherwise you skip the work with updates, HTTPS, backups and restarts.
Docker Compose questions
Yes, through a GitHub repository. The wizard reads the compose file, builds the services from your project and puts them online as one app with one address. Databases in the compose file become managed databases.
Yes, on the free plan, without a credit card. A frontend, an API and a worker take three of its 5 apps and share 512 MB of memory. The parts people visit sleep after 30 minutes without a visit, and a background worker stops after 24 hours without activity on your account. A project that has to stay up needs Pro.
Every part that keeps running counts as one of your plan's apps. The migration before each new version and parts you switched off don't. Databases count towards your plan's databases, not its apps.
A database in the compose file doesn't become a volume but a managed database with a nightly backup. Files in an app's kept folders survive restarts and are copied every night on Pro. One app can't see another app's folders, so a volume shared by two apps doesn't exist here. See settings and files.
No. The app's address sends each request to the right part itself, such as / to the frontend and /api to the API. HTTPS and certificates are handled by the platform.
Yes, as an app of its own, through "I have a Docker image" or from the App Store. You connect the two in the infrastructure designer.
Servers at Hetzner in Falkenstein, Germany, with Nuremberg and Helsinki as spare sites when Falkenstein has no free server. Backups are in Helsinki, Finland. blitz.cloud is run by BlitzWorks UG (haftungsbeschränkt), a company in Germany. Which other services are involved is listed on data location and GDPR.
Read next
Docker hosting in the EU, without a server to look after
Cheap Docker hosting in the EU from a German company. Public or private images or a GitHub repo, an HTTPS address, always on from 3 EUR a month, with a DPA.
Deploy a GitHub repository to a live HTTPS address
Connect GitHub and pick a repository. A few minutes later it runs at its own HTTPS address, with a new version on every push. No Dockerfile needed.
Infrastructure designer: your apps and home network on one canvas
Your apps, databases, domains and home devices on one canvas. Let Home Assistant reach your Hue Bridge or give your NAS a private address, even behind CGNAT.
Keep your app online, in the EU.
Put it online from GitHub or the App Store in a few minutes. Pro keeps your apps awake around the clock, on your own domains, for 9 EUR a month for all of them. Cancel any time.