Running Redmine with the official Docker image: when a container is the right base
A container is the right base when your team wants a repeatable Redmine build that can be rebuilt, tested and moved between hosts without hand-editing a server. The decision is usually between the official Docker image and a direct install on a Linux host with Puma, Nginx and a systemd service. The image gives you a packaged Redmine runtime with a defined way to pass configuration through environment variables, a volume for uploaded files and a way to supply secrets as files. It does not give you a database, a reverse proxy, TLS termination, backups or monitoring. Those remain yours, and they are where most of the operating work sits. Choose the container path if your platform team already runs container hosts and can own the database and backup layout around them. Choose a Linux host if your administrators are more comfortable managing packages and systemd units, or if you need to change the application server setup in ways the image does not expose.
Redmine itself is free under the GNU General Public License v2, so the container decision does not change the licence bill. The costs that do change are hosting, the database and storage you provision around the container, implementation effort to wire them together, plugin selection and testing, upgrades that follow Redmine's release lines, and the staff time to patch and watch the service. Before you commit, confirm which Redmine line you will run. The current stable releases listed by the project are 7.0.2 and 6.1.5, and only the 7.0.x line receives new features along with bug fixes and security updates, while 6.1.x receives bug fixes and security updates only. Confirm the Ruby and database versions for that line in the Redmine installation guide before you pick an image tag, because the image must match a supported combination. PostgreSQL, MySQL 8.0 to 8.4 with READ COMMITTED isolation, and SQL Server 2012 or higher are supported for production, while SQLite is not suited to multi-user production use.
Which Redmine image tag fits your support policy
Redmine 7.0 is the only line that receives new features, bug fixes and security updates. The 7.0.x releases run on Rails 8.1 and support Ruby 3.2, 3.3, 3.4 and 4.0, so the image tag you choose on this line fixes the Ruby version your instance runs. Choose this line when you need the full upgrade path and when new features matter to your teams.
- Fixes and features: 7.0.x receives new features, bug fixes and security updates.
- Latest stable: the download page lists 7.0.2, dated October 1, 2026, as the most recent 7.0 release.
- Ruby baseline: Rails 8.1 and Ruby 3.2 to 4.0 apply to this line, so check your plugins against that range.
- Upgrade path: staying on 7.0 means future upgrades start from a supported version.
- Plugin fit: confirm that every plugin you install has a release for 7.0 before you pin the tag.
Before you pin a 7.0 tag, confirm each plugin and gem your instance needs against the Ruby version in that tag.
Redmine 6.1 receives only bug fixes and security updates, so it gets no new features. It suits teams that have validated their plugins and workflows on 6.1 and do not want feature changes during a stable period. Plan a move to 7.0 before this line reaches the end of its support.
- Support scope: 6.1.x receives bug fixes and security updates only.
- Latest stable: the download page lists 6.1.5, dated October 1, 2026.
- Feature freeze: you keep the behavior your users already know while security fixes still arrive.
- Plugin validation: plugins tested on 6.1 may need work before a move to 7.0.
- Migration planning: schedule the 7.0 upgrade in advance so it is not forced by a security event.
Ask your Redmine implementation partner or plugin authors which Ruby version your chosen 6.1 tag ships with, and confirm that every plugin supports both 6.1 and your target 7.0 release.
Redmine 6.0 receives only important security updates. It is a holding position for teams that cannot move yet and that accept a narrower patch stream. Running it means you accept that routine bug fixes will not arrive, which raises the work your team carries.
- Support scope: 6.0.x receives important security updates only.
- Latest stable: the download page lists 6.0.11, dated August 26, 2026.
- Narrow patch stream: non-security defects stay open unless you fix them yourself or through a partner.
- Exit plan: set a dated move to 6.1 or 7.0 and record who owns it.
- Monitoring: subscribe to Redmine release announcements so you learn about security updates promptly.
Confirm with your security team whether a security-only line meets your internal policy and any external assessment scope before you accept it as a production position.
Redmine 5.1.x and older releases are unsupported and receive no updates. An image tag from these lines still runs, but no security fixes will arrive for it. Treat any instance on these lines as a migration task before it handles production work, not as a stable baseline.
- Support status: 5.1.x and older are unsupported according to the download page.
- Security exposure: known vulnerabilities fixed in later releases stay open on these lines.
- Migration effort: moving forward crosses several versions, so plan the upgrade path step by step using the upgrade guide.
- Data safety: back up the database and files before any version change.
- Audit evidence: an unsupported version is hard to defend in a security review or compliance assessment.
If you inherit an instance on these lines, ask your team to confirm the exact running version, its plugins and its database, then scope the upgrade before you change the image tag.
Whichever support line you choose, the base image variant also affects what your container can run. An Alpine variant is smaller, but it uses a different C library and package set, which can change how native gems and external tools install. Decide the variant only after you list the tools your instance needs.
- Size versus compatibility: Alpine images are smaller, but native gem builds and some packages may need extra work.
- Optional tools: the installation guide lists ImageMagick, Ghostscript and Pandoc for thumbnails and previews, so confirm each one installs and runs on your chosen base.
- Plugin dependencies: plugins that compile native extensions are the most likely source of problems on Alpine.
- Testing: build the image, run your plugin set against a copy of your data, and check previews and attachments.
- Rebuild cycle: each tag change or base image update requires a fresh test pass.
Before you choose a variant, ask your implementation partner to verify ImageMagick, Ghostscript, Pandoc and every plugin on the exact tag you intend to run.
Environment variables and secret options compared
This table compares how the official Redmine image takes database connection settings, passwords, SECRET_KEY_BASE and email or plugin settings, and when each method fits. Read it as a sequence: decide where each secret lives first, then choose between a plain environment value and a _FILE variant. Confirm every exact variable name in the official image README before writing a Compose file or orchestrator manifest.
| Setting | Plain environment variable | _FILE variant and production fit |
|---|---|---|
| Database adapter, host, port and name | Set in the container environment; fits local development and throwaway test stacks | Non-secret, so a plain value is usually acceptable in production; confirm names in the image README |
| Database user | Plain value is readable by anyone who can inspect the container configuration | Keep as plain value if your policy allows; confirm the matching _FILE option exists |
| Database password | Acceptable only for dev; visible in docker inspect and process metadata | Preferred for production: point the _FILE variant at a Docker or orchestrator secret mount |
| SECRET_KEY_BASE | Quick to set, but a value that changes between restarts logs users out and breaks sessions | Generate once, store in a secret, and reuse it on every container; confirm the variable name and file option in the README |
| Email (SMTP host, port, credentials) | Fine for host and port; avoid plain SMTP passwords outside development | Use a _FILE variant or a mounted configuration file for SMTP passwords if the image offers one; confirm the supported mechanism |
| Plugin-related settings | Plugins often need extra variables or mounted files; check each plugin's documentation | Mount plugin configuration and any API tokens as secrets; confirm how the image loads custom plugin directories |
| Startup behavior tied to plugins | Plugin migrations run on start only if the image is configured to do so; confirm the variable that enables it | Decide per environment whether migrations run automatically or as a controlled step before rollout |
How to start a production Redmine container safely
This sequence starts Redmine from a pinned image with its own database account, a stored secret key, persistent attachment storage and automatic plugin migrations. The result is a running instance whose data survives container replacement and whose login, uploads and database access you have checked.
Pin a supported Redmine image tag
Choose an image tag that names an exact Redmine version rather than a floating label, and confirm it belongs to a supported line. The Redmine download page lists 7.0.x as the fully supported line with new features, bug fixes and security updates, while 6.1.x and 6.0.x receive narrower support. Check the image's registry page to confirm the tag exists and matches the version you intend to run. Record the tag in your change record. Done when you can name the exact Redmine version the container will run and why you chose it.
Create the database and a least-privilege user
The database administrator creates a dedicated database and a login role that owns only that database, with a password from your secrets tool. Confirm the PostgreSQL major version is still in its support window, for example PostgreSQL 17 is supported to November 8, 2029 and PostgreSQL 18 to November 14, 2030. Then connect with the new role and try to reach another database on the same server. Done when the new role logs in, can work in its own database, and is refused access to the others.
Generate SECRET_KEY_BASE outside the image
Generate one long random value with a cryptographic random generator and store it in your secrets manager. Inject it at runtime using the variable or secret file method documented for the image, and keep it out of the Dockerfile, compose files, Git repositories and image build arguments. Every container serving the same instance must receive the same value, or sessions will not carry across them. Done when the value is absent from your source and image history, and a container restart keeps an existing signed-in session valid.
Mount a persistent volume for attachments
Create a named volume or host directory and mount it at the files path that the image documentation names for uploaded attachments. Make sure the directory is writable by the user the container runs as, and back it up with the same schedule as the database. Confirm the path against the image documentation for your chosen tag before you go further. Done when you write a test file from inside the container, remove and recreate the container on the same volume, and the file is still present.
Start the container with database and migration settings
Start the container with the database host, database name, user and password set through the variable names listed on the image page. Where the image supports _FILE variants, point them at the secret files so passwords do not appear in process listings or inspect output. Confirm whether plugin migrations run automatically on each start, since the Redmine upgrade guide expects database and plugin migrations to run after code changes. Done when the logs show migrations completed without errors and the application reports that it is listening on its expected port.
Verify login, uploads and database connectivity
Sign in with the administrator account, then change its password at once and follow your hardening baseline before any users are added. Create a test issue, attach a small file and confirm that the file appears in the files volume on the host. Save and reload the issue to confirm that the record is read back from the database. Done when sign-in, attachment upload and issue save all succeed, and you have written the results to the deployment record.
Why the files volume and SECRET_KEY_BASE decide whether data survives
Uploaded attachments live in the files directory inside the container, so that path must sit on a persistent volume that is independent of the container lifecycle. Recreating or upgrading a container replaces its writable layer, and without a mounted volume any attachments written since the last image pull are gone with it. The database row for an attachment will still exist, which is the worst outcome: users see a record that points to a file that no longer exists. Confirm the host path or named volume for the files directory before the first production start, and confirm that a test container removal and recreation keeps a test upload available.
SECRET_KEY_BASE must stay the same across restarts, redeploys and every replica. Redmine uses it to sign and encrypt session data, so changing it invalidates existing sessions and logs users out. If replicas run with different values, a user who is routed from one container to another will be rejected on each request, which looks like an authentication fault rather than a configuration one. Store the value in your secret manager, pass it through the same mechanism on every instance, and treat rotation as a planned event with a communicated sign-in window. Keep it out of image layers and shell history.
Back up the files volume and the database as one set, taken at the same point in time. A database dump without the matching attachments restores metadata that cannot be opened, and attachments without their database rows are orphaned. Include the SECRET_KEY_BASE value in your recovery documentation, held in a separate secure store, because a restore onto a fresh host with a new key will sign out every user. Ask your team to rehearse a restore into a clean container with the same key and confirm that attachments open and sessions behave as expected.
How the Redmine container, database, volumes and proxy connect
The flow starts at the TLS reverse proxy, which is the only component that faces users and sits on the trust boundary. Requests cross into the internal network to the Redmine container, which reads its database settings and secrets from environment variables and _FILE paths at start. Attachments are written to the files volume, and the external database is backed up on its own path, separate from the container. Check that the database and files volume are backed up together, and that the proxy is the only route in.
Traffic enters through the proxy, and data lives in the database and files volume.
Security settings to review before go-live
A Redmine container holds the application, its secrets, its database connection and its uploaded files, so each of these needs its own control. The cards below cover the settings most often left at defaults, and each one names what to check before users sign in.
Keep secrets out of layers and dumps
Values such as SECRET_KEY_BASE and database passwords passed as plain environment variables can appear in docker inspect output, process listings and shell history, and they stay in image layers if written during a build. Pass them through the _FILE variants or Docker secrets, keep them out of Dockerfiles and Compose files committed to source control, and confirm that the image build never copies a configuration.yml containing passwords. Ask who can run docker inspect on the host.
Restrict database user privileges
Give the Redmine database user rights only on its own database, not superuser or cluster-wide roles. The application needs to create and migrate its schema during upgrades, so separate the account used for db:migrate from the one used at runtime if your policy requires it. Confirm the database port is reachable only from the Redmine container network, and check that the database version is one still in PostgreSQL support before go-live.
Pin tags and track security releases
Use an explicit image tag that matches a supported Redmine line rather than a floating tag, so a container restart never changes the version without a planned upgrade. Redmine 7.0.x is the fully supported line, and 6.x receives fewer fixes. Subscribe to the Redmine download and news feeds, record which tag is running, and schedule a rebuild when a security release is published for that line.
Redmine download pageLimit container privileges and ports
Run the container as a non-root user where the image supports it, drop Linux capabilities that Redmine does not need, and set the root filesystem read-only with writable mounts only for the files volume and temporary directories. Publish only the port served by the reverse proxy, and do not expose the Redmine container port or the database port on the host. Verify the final setting with docker inspect and a port scan from outside the host.
Protect the files volume permissions
The files volume holds every attachment users upload, and those files can contain personal data and confidential project material. Set host directory ownership and mode so only the container user and backup operators can read it, avoid world-readable bind mounts, and include the volume in backup and access reviews. Confirm that a restore from backup keeps these permissions, since restored files that lose ownership can break attachment downloads.
Restrict admin and API access
The Redmine REST API is disabled until an administrator enables it, and API keys grant the same rights as the user who owns them. Decide whether the API is needed at all, and if it is, limit it to the users and networks that require it. Review administrator accounts, remove default admin credentials, and confirm that the reverse proxy does not expose administration paths to the internet when they are not needed.
Redmine REST API docsRunning plugin migrations on start and when to stop doing it
Plugin migrations on container start are convenient for a first deployment, but a Redmine upgrade should be a controlled sequence. The documented upgrade procedure in the Redmine upgrade guide starts with a backup of the database and uploaded files, then copies configuration, uploads and third-party plugins to the new installation, runs db:migrate and redmine:plugins:migrate, clears the cache and restarts. With the official image, the same steps map onto the files volume, the environment variables that point at the database, and the image tag you choose. Each step should be something you can name, time and roll back, so an automatic migration that runs silently as the container starts removes the point where you would stop and verify.
The trade-off is between speed and control. Automatic migration on start keeps a single-container host current and reduces manual work, and it suits lab or low-stakes instances. It also means a new image can alter the database the moment it boots, before anyone has checked plugin compatibility. For production, many teams disable the automatic step and run the migration commands as an explicit maintenance action after the backup is confirmed. Confirm with your image documentation which start-time behavior is enabled by default and how to turn it off, because that setting decides whether an upgrade is a deliberate event or a side effect of a pull.
Plugin compatibility must be checked before any Redmine minor or major upgrade, not after the container restarts. Redmine 7.0 runs on Rails 8.1 and supports Ruby 3.2, 3.3, 3.4 and 4.0, so a plugin written for an older Rails or Ruby combination may fail to load or migrate. Build a test instance from the same tag, run the plugin migrations there against a copy of production data, and check each plugin's release notes for the Redmine versions it supports. If a plugin has no release for the target line, decide whether to wait, replace it or remove it before the production upgrade starts. Ask your implementation partner or plugin vendor to confirm this in writing for every plugin in use.
Limits to confirm in your environment
The official Redmine image makes a production start quick, but several limits depend on your choices: image variant, database, scale and sign-in model. Each card names one item to check before the design is final, so the gaps surface in a test environment rather than after go-live.
Plugins and optional tools per variant
Plugins and the optional tools Redmine uses for attachment previews, such as ImageMagick, Ghostscript and Pandoc, are not guaranteed to be present or installable in every image variant. Alpine and Debian builds differ in their system packages and native library support, and a plugin with compiled gems may need build tools the image does not ship. Check each plugin and tool against the exact tag you plan to run, and rebuild a derived image when something is missing. Confirm this in a staging build before you pick the variant.
Installation guideDatabase version and isolation level
Redmine supports PostgreSQL, MySQL 8.0 to 8.4, SQL Server 2012 or higher, and SQLite. MySQL must run with transaction isolation set to READ COMMITTED, and that setting is easy to miss when the database comes from a managed service or an existing server. Confirm the exact database version against the Redmine release you will run, and verify the isolation level on the live server rather than trusting the template.
SQLite is not for multi-user production
The installation guide says SQLite is not suited to multi-user production use. The official image can be started with a file-based database for a quick trial, but a team tracker that several people edit at once needs a networked database server. Treat any SQLite setup as a throwaway evaluation and plan the database migration before users start creating issues.
Horizontal scaling requirements
Running more than one Redmine container changes the design. Sessions depend on a stable SECRET_KEY_BASE, uploads must sit on storage every container can reach, and background jobs need a shared queue such as Sidekiq rather than the default in-process adapter. Confirm which of these you need on day one, and check whether your shared storage and Redis service are in scope for the build.
Single sign-on is not core Redmine
Redmine authenticates natively against LDAP directories, but SAML and OpenID Connect single sign-on are not part of core Redmine. You need either a plugin that adds those protocols or an authenticating reverse proxy in front of the container, and each option changes how sessions, API access and account provisioning behave. Confirm which mechanism your identity provider supports and test sign-in, logout and API keys before you publish the URL.
Redmine feature listQuestions buyers ask before running Redmine in containers
How much does running Redmine in containers cost?
Redmine has no license fee, because it is free under GPL v2, so the spend comes from the parts around it. Hosting is the main recurring cost: compute for the application container, database storage, backup storage and a reverse proxy with TLS. Implementation is usually one-time work, covering configuration, secrets handling, mail setup, testing and handover. Plugins add their own one-time and recurring costs, since each one must be checked at every upgrade. Maintenance recurs through patching, upgrades, restore tests and monitoring. When you request a quote, ask for each cost line separately, with the hosting assumptions, the plugins in scope and the support hours included, so you can compare it with the internal cost of your own team.
How long does a first Redmine container deployment take?
The duration depends on scope, and no duration figure applies to this topic, so tie any estimate to a written scope before you rely on it. The main drivers are the number of environments (usually test and production), the database choice and its setup, whether you need LDAP or SSO sign-in, which plugins must be installed and verified, the size of any data migration, and how many approval steps your change process requires. A deployment that stays close to default configuration moves faster than one that includes integrations and migration. Ask for a schedule with milestones in the written scope, and confirm which items are in and out before work starts.
What must our team provide before a Redmine deployment starts?
Your team supplies the infrastructure and the decisions that only your organization can make. Expect to provide a PostgreSQL or MySQL endpoint with credentials and a backup plan, a secrets store for the secret key base and database passwords, DNS records for the Redmine hostname, a TLS certificate or the means to issue one, and an SMTP relay that accepts mail from the container host. You also need persistent storage for the files volume, access to a container registry or an internal mirror, and named approvers for changes. If you plan LDAP sign-in, supply the directory details as well. Confirm each item in the written scope, because a missing mail relay or certificate usually surfaces late in testing.
Can our team run Redmine containers without outside help?
A team with container operations skills and some Rails familiarity can run Redmine in-house, but the work recurs. Routine tasks include updating image tags, verifying database and files backups with restore tests, reviewing logs, checking plugin compatibility and applying security releases. The upgrade procedure in the Redmine upgrade guide is a sequence: back up the database and uploaded files, copy configuration, uploads and third-party plugins to the new installation, run the database and plugin migrations, clear the cache and restart. Redmine 7.0.x receives new features, bug fixes and security updates, while 6.0.x receives only important security updates, so the release line you choose sets your patching workload. Decide whether your staff can keep this schedule, and whether a retainer covers the gaps.
Which Docker tag should we pin, and does Alpine change anything?
Pick the Redmine release line first, then pin an exact image tag that carries it rather than following a floating tag. Redmine 7.0.x is the fully supported line, so it is the natural starting point for new deployments. The tag names and their base operating systems are not covered on this page, so confirm them on the official image listing before you pin one. Alpine-based images are generally smaller, but they use a different C library and package set. Any plugin or optional tool that needs native libraries, such as ImageMagick, Ghostscript or Pandoc for previews and thumbnails, must be tested on that base before you rely on it. Rebuild and retest previews after every image change.
What changes when moving Redmine to a new major line?
A move to a new major line changes the Ruby and Rails baseline, so plan it as a full upgrade with testing. Redmine 7.0 runs on Rails 8.1 and supports Ruby 3.2, 3.3, 3.4 and 4.0, and it does not support JRuby. Installations on 5.1 and older no longer receive support, so moving from them is a larger job that should be planned in stages. Each third-party plugin needs a version that works with the target line, and you should confirm that before changing the image tag. Then follow the upgrade guide sequence: back up, copy files and plugins, run the database and plugin migrations, clear the cache and restart. Test in a staging copy first, using your own data volume.
Which PostgreSQL version should a Redmine container stack use?
Choose a PostgreSQL major version that is still in support for the full life of your Redmine release, and check the Redmine installation guide for the database versions it supports. PostgreSQL 14 is supported until November 12, 2026, 15 until November 11, 2027, 16 until November 9, 2028, 17 until November 8, 2029, and 18 until November 14, 2030. Minor releases arrive at least every three months and replace executables without changing the storage format, so they can be applied with a restart. Major upgrades need a dump and restore, pg_upgrade, or logical replication, which the PostgreSQL documentation says can cut downtime to several seconds. Plan the major upgrade as its own change, with a tested backup.
How DeployOpen scopes and delivers a Redmine container deployment
Most Redmine container engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts. The cards below follow the order of a typical engagement, from the decisions made before anything runs to the operating model handed over at the end.
Tag and upgrade line selection
The scope starts by choosing the image tag and the Redmine release line the deployment will follow. Redmine 7.0.x is the fully supported line, so a new deployment is normally planned around it. We confirm which tags exist in the official image at the time of work, and we record the upgrade cadence the client's change process can sustain. Confirm the tag policy before the first container starts.
Redmine download pageDatabase and secrets design
We design how the Redmine container reaches its production database, using the database environment variables and their _FILE counterparts so that passwords are read from mounted secret files rather than the compose file or shell history. The design covers credential rotation, which secrets are generated, and who holds them. Supported database choices are reviewed against the Redmine installation guide before the database is provisioned.
Persistent volumes and file storage
Attachments, configuration and plugin folders must survive container replacement. We map the files volume, confirm ownership for the Redmine user inside the container, and size the attachment path for expected uploads. Backups are scoped to the same volumes and the database, so a restore recovers both issue data and the files it references.
Session key and plugin review
We set SECRET_KEY_BASE to a fixed value stored with the other secrets, so sessions remain valid across restarts and replicas. Plugins are reviewed before they are added, including their Rails and Redmine version compatibility, and any plugin migrations that run on container start are listed and tested against a copy of the database. Plugins that block the next upgrade are flagged in the handover.
Verification and handover
Verification covers a clean start from an empty database, a restore from a backup into a separate environment, login through the chosen authentication method, attachment upload and download, and email delivery. The handover package documents the compose or orchestration files, the secrets inventory, the upgrade runbook and the retest steps. Clients receive a record of what was tested and what was not.
Retainers for upgrades and testing
After handover, upgrades to new Redmine releases, plugin updates, periodic restore tests and continuous security testing can be covered by a retainer. Scope for these services is agreed in writing, in the same way as the initial deployment. Clients should ask for the retainer terms, response expectations and which upgrade steps are included before signing.

