When a Medplum Docker Compose evaluation is enough
A Docker Compose setup is enough when your team wants to see Medplum working before choosing a deployment path. Docker Compose runs the full stack on one machine for evaluation and proof-of-concept work, not for patient data or production traffic. Medplum is released under the Apache 2.0 license and maintained in the medplum/medplum repository on GitHub, so you can read the code, inspect the compose file and decide for yourself what to change before anything leaves a lab machine.
The evaluation proves that the core pieces work together in your hands. You can call the FHIR R4 API, sign in through Medplum Auth with OAuth and OpenID Connect flows, use the web app to create and search resources, and run a Bot that responds to a request. Those checks show whether the data model, the access model and the developer tooling fit the way your team builds. Use the evaluation to confirm that your team can model your own resources, such as a Patient or Encounter profile, and that the SDK does what your developers expect.
The evaluation cannot prove availability, scale, backup or recovery, because one machine with default settings says nothing about failover, load or restoring a database after a fault. It also does not test your real identity provider, your mail delivery or your domain. Before you rely on any result, confirm with your own environment which sign-in provider, SMTP relay and storage target you will use, and plan to repeat those tests on the deployment path you choose, using the Medplum self-hosting documentation as the starting reference.
Which Medplum install path fits evaluation and which fits production
This table compares Docker Compose with the other self-hosting paths in Medplum's self-hosting docs. Read each row for the best use, the main operating load and the next step once the evaluation is finished. Use it to decide when a local stack is enough and when the work moves to a production layout.
| Install path | Best use | Main operational load | Next step after evaluation |
|---|---|---|---|
| Docker Compose (local) | Evaluating the stack, demos and a proof of concept on one workstation or test host | Low setup effort, but data, secrets and the database are not managed for production use | Choose a production path and rebuild the configuration, storage and email setup there |
| AWS with CDK and CloudFormation | Medplum's recommended production layout on AWS, where the team already runs an AWS account | Cloud accounts, IAM, SES, domain setup, load balancers and managed database operations | Plan the production account, network and change control before running the CDK deploy |
| Ubuntu from the APT repository | A single-server install for a small, contained deployment that does not need a cluster | One host to patch, back up and monitor, with PostgreSQL, Redis, Node.js and Nginx on the same machine | Confirm the server sizing, TLS setup and backup routine, then decide if one server meets availability needs |
| Kubernetes with Helm | Running Medplum on a cluster you already operate, with external PostgreSQL, Redis and object storage | Cluster operations, ingress, values.yaml management and external data services | Review cluster capacity, namespaces and ingress, then connect managed data services |
| DigitalOcean | Teams that want a documented hosted-infrastructure path outside the big three clouds | Provider account setup, networking and database operations handled by the team | Confirm the provider deployment steps against current Medplum docs before committing |
| Building from source | Engineers who need to change the server code or test unreleased changes | Build pipeline, dependency management and owning every upgrade yourself | Set up a repeatable build and release process before any shared environment |
| Azure with Terraform and AKS (Beta) | Teams standardized on Azure who accept a Beta deployment for evaluation or controlled pilots | Terraform state, AKS, managed PostgreSQL, Key Vault and Application Gateway operations | Assess Beta status against your own risk policy and plan a validation environment first |
| Google Cloud with Terraform and GKE (Beta) | Teams standardized on Google Cloud who accept a Beta deployment for evaluation or controlled pilots | Terraform state, GKE, Cloud SQL, Secret Manager and WAF operations | Assess Beta status against your own risk policy and plan a validation environment first |
Every Compose service runs on one host, with local-only networking
The diagram starts with the browser on the host, which loads the Medplum web app. The web app sends FHIR and sign-in requests to the Medplum server, which hosts the FHIR API, Medplum Auth and Bots. The server stores resources in PostgreSQL and uses Redis as its cache. Everything sits inside one host boundary on local-only networking, so nothing leaves the machine. Binary storage and email are optional, so check the compose file for whether either is included before you test document uploads or invitations.
Compose services and their hand-offs, all on one local host.
What the compose file includes and what to check in it
Start by opening the compose file in the medplum/medplum repository and confirming the service list yourself. Based on Medplum's documented components, a local stack centers on the Medplum server, which is built on Node.js and TypeScript, with PostgreSQL as the database, Redis as the cache, and the web app as the browser front end. Treat the file as the source of truth for the current services, since image names, service names and the set of containers can change between releases. This page describes the shape of the stack, not the exact contents of any one version.
For each service, check four things: the image and tag it references, the ports it publishes to your host, the volumes it mounts, and the default credentials it sets for the database and any bundled admin account. Record the published ports in a note, because a port clash with another local service is a common reason a first start fails. Confirm whether the database volume is a named volume or a bind mount, since that determines whether data survives docker compose down. Replace any default passwords before you share the environment with anyone, even a test environment, and confirm the image tags match the release you intend to evaluate.
Read the server and web app configuration as well, looking for the base URL settings that tell the browser and the API where they live. A mismatch between the URL the browser uses and the URL the server expects is a frequent cause of sign-in and redirect failures during evaluation. Note any settings that point to external email or storage services, because a local stack may not have them and features that depend on them will behave differently. Whatever you find in the file, the compose layout is a single-host evaluation setup and should not be used as a production blueprint.
Starting the stack and checking the first run
This sequence takes a local Medplum Docker Compose stack from a pinned release to a verified first FHIR resource, so you know the evaluation environment works before you build on it.
Confirm Docker and host resources
Check the Docker Engine and Compose plugin versions on your workstation or evaluation host against the requirements stated in the Medplum repository's self-hosting guidance. Confirm the host has enough free memory, CPU and disk for the containers the compose file starts, since the database and cache are the heaviest parts. Run the Docker version and Compose version commands and record the output. The step is done when both versions meet the repository's stated minimums and the host has room to run the full stack alongside anything else you use.
Clone the repository at a release tag
Clone the medplum/medplum repository and check out a specific release tag, such as the latest release listed on the GitHub releases page, instead of an unpinned branch. Pinning keeps your evaluation reproducible and makes it clear which version your findings apply to. Run git tag to list available tags, then git checkout with the tag you chose, and confirm with git describe. The step is done when the working tree reports the tag you intended and not a branch head.
Review the compose file and environment values
Open the compose file and any environment file in the checked-out tag and list each service it starts, including the server, the web app, PostgreSQL and Redis. Note the ports each service exposes, the hostnames and base URLs the server expects, and the default credentials. Mark any default you will change before sharing the stack with other people. The step is done when you can name every service, its port and the URL the browser will use, and you have written down the defaults you intend to replace.
Start the stack and time the first boot
Start the containers in detached mode with the compose command from the repository documentation, then check container status with docker compose ps until each service reports running. Record the time from the start command until the server logs show the database schema is ready. The first-start wait depends heavily on your hardware, image pull speed and network, so measure it on your own machine rather than relying on a published figure. The step is done when every container is running and you have a measured first-boot time in your notes.
Watch the server logs until the schema is ready
Follow the server container logs with docker compose logs with the follow option and wait for the message indicating that database migrations have completed and the server is listening. Treat repeated connection errors to PostgreSQL or Redis as a failure to fix before continuing, and check the container health status if the logs stay quiet. The step is done when the logs show the server listening without database errors and a plain HTTP request to the health or base endpoint returns a successful response.
Sign in to the web app
Open the web app URL in a browser, create or use the initial administrator account described in the repository documentation, and sign in. If you enabled multi-factor authentication or an external identity provider, confirm it still works in this local setup before relying on it. Note that the local stack is for evaluation, so the sign-in path here does not represent your production identity design. The step is done when you reach the logged-in project view as an administrator.
Create and search a FHIR resource
Create a test Patient resource in the web app or through the FHIR REST API using an access token from your signed-in session, then search for it by a field you set, such as family name or identifier. Confirm the search returns the record you created and that the resource ID in the response matches the one you stored. Delete the test resource afterward if the data is not meant to persist. The step is done when a created FHIR resource comes back from a search, which confirms the API, database and search path work end to end.
Security risks to close before anyone else uses the evaluation stack
A Docker Compose stack is quick to start and easy to share, which is exactly why it can end up exposed with default settings. The risks below connect because each one turns a local test into a service other people can reach, and each needs a check against the repository's current docs before the stack leaves one laptop.
Default and sample credentials
Compose files for evaluation stacks often ship with sample passwords for PostgreSQL, Redis and the Medplum admin account. Treat every one of them as public once the file is in a shared repository. Replace each value with a generated secret held outside the file, and confirm in the current repository which variables the compose file reads and which accounts it creates on first start.
Medplum repositoryPorts exposed beyond localhost
Port mappings in a compose file bind to all interfaces unless the host address is set, so PostgreSQL, Redis and the API can become reachable from the office network or a cloud VM. Bind published ports to 127.0.0.1 for local use, and publish only the web and API endpoints that testers need. Check the port list in the current compose file before any shared host is opened.
Synthetic versus real patient data
An evaluation instance is often loaded with sample records that look realistic, and teams then add a real extract to test a workflow. Once real protected health information sits in a shared instance, the stack needs the controls of a production system. Use synthetic data only, label it clearly, and write the rule down before anyone imports records.
Missing TLS on shared endpoints
Compose stacks usually serve plain HTTP on local ports. Any shared endpoint that carries logins, tokens or clinical data needs TLS in front of it, even during evaluation, because sign-in traffic is otherwise readable on the network. Put a reverse proxy with a certificate in front of the stack, or keep the evaluation strictly on localhost. Confirm the base URL settings the stack expects before you change the scheme.
Email and MFA delivery not configured
Invites, password resets and MFA codes are sent by email, and an evaluation stack often has no mail provider wired up. Testers then work around the gap by disabling MFA or sharing one account, which weakens the sign-in test you meant to run. Decide on a sandbox mail catcher or a test sender before inviting users, and confirm the email settings in the current self-hosting docs.
Medplum auth docsSecrets kept out of the repository
Copying a working .env file or a filled-in config into the repository exposes every credential in its history, even after a later commit removes it. Keep environment files out of version control with an ignore rule, supply secrets at run time, and rotate anything that was ever committed. Check the repository's current guidance on configuration files before you commit the stack definition.
Why a Docker Compose layout is not a production deployment
A Compose stack on one host is a single point of failure: the Medplum server, PostgreSQL, Redis and any local binary storage all depend on one machine, one disk and one operating system. If that host fails, the evaluation stops, and nothing in the file defines how to recover. Before you treat the stack as anything beyond a proof of concept, confirm five gaps: whether PostgreSQL and binary storage have a backup you have actually restored, where the secrets and signing keys live (in the .env file or Compose definitions, not a secrets manager), whether the database and cache are managed services or containers you must patch yourself, whether anyone has measured capacity or set up monitoring, and whether upgrades happen in a window you control.
The upgrade rule is the gap most likely to surprise a team that keeps its evaluation instance. Medplum's upgrading guide requires moving through each minor version in sequence. Skipping versions, for example going from v3.1.2 straight to v4.3.4, can cause startup failures, and post-deploy data migrations can run for hours or days on large datasets. A Compose instance filled with test data will hit the same rule as a production system, so pin the image tag you start with, record each version you move through, and do not treat latest as a safe upgrade path. Your evaluation notes should say which Medplum version the data was created under.
When the evaluation is complete, the next step is a layout designed for operation. The sibling paths cover AWS with CDK for the recommended production install, Kubernetes with the Helm chart, a single-server Ubuntu install, and the Beta Azure and Google Cloud Terraform deployments. Choose the path by where your organization can host the workload and which teams will run it. Each path changes the database, backup, secrets and monitoring decisions above, so use the Compose stack to test your clinical data model and integrations, not to settle the production architecture.
What to confirm before promoting the evaluation stack
The evaluation stack runs whatever image tag the compose file references, so the first task is to record exactly which Medplum release you tested. At research time the latest release was 5.2.5, published on October 15, 2026, following 5.2.4 on October 14 and 5.2.3 on October 8, 2026. Treat that as a snapshot, not a recommendation. Medplum ships major versions once a year, minor versions two to three times a year and patch versions weekly, so the release you pin will age quickly.
- Pinned release: Record the exact tag used in the compose file and confirm it is a version your team will still be able to receive security patches for.
- Support windows: Read the versioning policy to understand Active support, Maintenance and the Enterprise extension for each major version.
- Patch response targets: Confirm the security patch targets Medplum publishes for critical and high vulnerabilities, and who on your side owns applying them.
- Upgrade sequence: Medplum requires self-hosted upgrades to pass through each minor version in order. Plan the path from your pinned release to the current one before you build anything on it.
- Data migrations: Ask how long post-deploy migrations are expected to run on a dataset your size, since they can take hours or days.
Before promotion, write down the upgrade path and the people who will execute it.
Compose on a laptop with synthetic data is not a compliance boundary. Once real patient or clinical data enters the stack, your organization becomes responsible for how it is stored, accessed, backed up and logged. Medplum's compliance documentation covers several frameworks, including HIPAA, SOC 2 Type II, ONC certification, CFR Part 11, HITRUST e1, CLIA/CAP and ISO 9001, and states that compliance is a shared responsibility between Medplum and its customers. Which of these apply to you depends on your use case, not on the software.
- Applicable regimes: List the regulations and quality programs your organization answers to and map each to a Medplum compliance area.
- Shared responsibility: Document which controls Medplum provides in its software and which your team must operate, including hosting, encryption, backups and access reviews.
- Business associate terms: Confirm with counsel whether a business associate agreement or similar contract is needed for any party that touches protected data in your stack.
- Data residency: Confirm where databases, logs, binaries and backups will physically sit, and whether that matches your contractual terms.
- Audit evidence: Ask your auditor which evidence they will request, such as access logs, change records and backup restoration tests.
Do not load real records into the evaluation stack until this list is signed off by the data owner.
The evaluation stack is usually signed in with Medplum's own identity provider and a local or test email path. Production needs an identity decision and an email sender that your organization controls. Medplum supports its own identity provider, external providers such as Google, Auth0 or AWS Cognito, domain-level corporate identity providers, client credentials for server-to-server access and multi-factor authentication. Multiple external identity providers for single sign-on are listed on the pricing page as an enterprise feature, so confirm which tier your use requires before you design around it.
- Identity provider: Decide which provider is the source of truth for staff and whether it must be a domain-level corporate provider.
- Multi-factor authentication: Confirm which MFA methods your policy requires and whether they are supported in your chosen setup.
- Machine access: List every service that needs client credentials and who owns their rotation.
- Email sender: Choose the provider or relay that will send invites, password resets and MFA codes, and confirm sending domain authentication with your mail team.
- Sender branding: Check the sender name and reply address that patients, clinicians and administrators will see.
Test sign-in and an invite email end to end with the production identity provider and sender before any user is onboarded.
The compose file is a convenient way to start, but it is not a production layout. Medplum's self-hosting documentation describes AWS deployment with CDK and CloudFormation as the recommended option, along with Ubuntu through an APT repository, Docker, Kubernetes, DigitalOcean, building from source, and Terraform-based GCP and Azure deployments that are marked Beta. Your hosting path should follow what your infrastructure team can run and support, not what was easiest to start.
- Chosen path: Select one hosting path and confirm the team that will own it, including on-call coverage.
- Beta status: If you consider the Terraform-based GCP or Azure paths, confirm the Beta status against your own risk tolerance.
- Database and cache: Confirm where PostgreSQL and Redis will run, who manages backups, and how restores are tested.
- Network and ingress: Confirm how the server is exposed, which certificates are used and how traffic is restricted.
- Monitoring and capacity: Confirm who watches the service and what capacity is planned for expected load.
Agree the hosting path in writing with the team that will operate it, and only then translate the evaluation settings into that layout.
Questions buyers ask before running a Medplum proof of concept
Can our team run a Medplum Docker Compose evaluation without outside help?
Yes, a technical team with Docker experience can usually stand up the local stack alone, because the work is mostly running a compose file, waiting for services to initialize and signing in to the web app. The effort grows with how much you want to test beyond the default setup, such as SSO, email delivery, custom bots or a sample data load. Confirm the current compose file and prerequisites in the Medplum self-hosting docs before you start, since those steps change with each release. If the evaluation is meant to answer architecture questions for a regulated environment, plan time for someone to review the results against your requirements.
How long does the first Docker Compose start take on Medplum?
The first start is driven by your hardware and network speed, not by a fixed duration you can plan around. The first run pulls container images, initializes PostgreSQL and Redis, and runs the server's database setup, so a machine with fast storage, enough memory and a good connection to the image registry will finish sooner. Subsequent starts are typically faster because images and volumes already exist. Measure the first start on your own laptop or test server and record the result, because that number is more useful than any general estimate. Keep the evaluation separate from the production sizing work covered in the Medplum self-hosting docs.
What does a Medplum proof of concept cost?
The Medplum stack is released under the Apache 2.0 license, so running it locally has no license fee. Costs come from the hardware or cloud instance you use, the staff time to install and test it, and any hosted service you choose to add. Medplum's hosted plans are priced separately: the pricing page lists Production at $2,000 per month and Premium at $6,000 per month, and self-hosted Enterprise is custom-priced, so ask Medplum for a quote if you plan to self-host at scale. Ask any implementation partner for a fixed-scope quote based on your written requirements. Compare those costs with the Medplum pricing page before you decide which path fits.
What does our team need to know and provide for the evaluation?
You need someone comfortable with Docker, environment variables and basic networking, plus a clear list of what you want to prove. The main inputs are the sample FHIR resources you plan to test, the sign-in method you want to check, and the success criteria your clinical, security and compliance reviewers will apply. Expect to spend time reading the Medplum data model and access control behavior if the proof of concept touches patient data. Keep the evaluation on synthetic data, and document which settings you changed so the results can be repeated. Medplum's authentication docs describe the identity options you should list in advance.
When should we bring in an implementation partner for Medplum?
Bring in a partner when the proof of concept has to become a design that your security, compliance or operations teams will sign off on. Typical triggers include a required hosting platform such as AWS, Kubernetes, Azure, Google Cloud, Ubuntu or edge hardware, integration with identity providers, email and binary storage, or a need for documented controls. A fixed-scope engagement gives you written deliverables and a timeline before work starts, which is easier to compare across options. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms in infrastructure you control, so it fits the move from evaluation to a production-ready deployment. Review the Medplum self-hosting docs to compare the deployment paths before you ask for a scope.
Can we reuse the Docker Compose setup for production?
No, treat the Compose stack as a learning and proof-of-concept environment, not a production layout. Compose runs everything on one host with default settings, while production needs managed or redundant PostgreSQL and Redis, private networking, secrets management, backups, monitoring, TLS, email delivery and a tested upgrade process. Medplum's upgrade guidance also requires moving through each minor version in sequence, which a throwaway evaluation environment does not prepare you for. Choose a production path such as the AWS CDK install, the Kubernetes Helm chart or the Ubuntu APT install, and rebuild the configuration with infrastructure as code. Read the upgrading guide before you lock in a version.
What security checks should we run on a Medplum evaluation before production?
Start by checking which default credentials, ports and services the compose file exposes, and confirm none are reachable beyond your test network. Then verify the identity configuration, multi-factor authentication settings and client credentials against your access requirements, and check how email and binary storage behave with your own domain. Your compliance reviewers will also need to know that Medplum states compliance is a shared responsibility between Medplum and its customers, so the self-hosted controls are yours to design and evidence. DeployOpen can run security testing on the resulting environment and prepare control evidence for compliance assessments, but it does not issue audit reports or certifications, which independent auditors and certification bodies provide. Use the Medplum compliance docs to scope what you must evidence.
How DeployOpen scopes a Medplum evaluation and the move to production
DeployOpen treats a Docker Compose evaluation of Medplum as a bounded technical exercise with a written scope, then plans the separate work of a production layout inside infrastructure your organization controls. Each stage produces named deliverables so your security, compliance and platform teams can review what was built before anything moves forward.
How we scope
- Agree in writing which evaluation questions the Compose stack must answer, such as SSO, FHIR resource coverage or Bot behavior.
- Confirm the Medplum version to pin, the host operating system and the hardware the evaluation will run on.
- Record which data is permitted in the environment, since evaluation stacks often hold synthetic records only, and set that boundary early.
How we build
- Stand up the full Medplum stack locally with Docker Compose, then document each service, volume and environment setting it uses.
- Test the evaluation questions agreed at scoping and record which results hold and which need a production-grade layout to confirm.
- Map the Compose layout against a production target, listing the managed database, cache, storage, email and ingress choices still open.
How we hand over
- Deliver the Compose configuration, setup notes and test results in a form your engineers can rerun and review.
- Provide a written gap list showing what the Compose layout does not cover for production, including backups, secrets and high availability.
- Document the upgrade sequence and the version pinning approach so the next move to a production deployment starts from a known baseline.
How we support
- Engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer once the platform moves toward production.
- Ask for a quote built from the written scope, and confirm which environment, identity provider and data rules it assumes.

