How to install Redmine with Docker Compose
Install Redmine 7 with Docker Compose in a few minutes: one file, a PostgreSQL database, saved uploads and free plugins. Step-by-step guide with code.

Running Redmine with Docker is the quickest way to get a working Redmine server. You need one file and one command, and you get Redmine 7 with a PostgreSQL database. Your data and uploads are kept when you update.
What you need
- A server or computer with Docker and Docker Compose installed
- Port 8080 free (you can change it)
Step 1: Create the Docker Compose file
Create a folder, for example redmine, and save this as docker-compose.yml inside it. Replace the two passwords and the secret key with your own long random values.
services:
redmine:
image: redmine:7.0
restart: always
ports:
- "8080:3000"
environment:
REDMINE_DB_POSTGRES: db
REDMINE_DB_USERNAME: redmine
REDMINE_DB_PASSWORD: change-this-password
REDMINE_DB_DATABASE: redmine
SECRET_KEY_BASE: change-this-to-a-long-random-string
REDMINE_PLUGINS_MIGRATE: "1"
volumes:
- redmine-files:/usr/src/redmine/files
- ./plugins:/usr/src/redmine/plugins
depends_on:
- db
db:
image: postgres:17
restart: always
environment:
POSTGRES_USER: redmine
POSTGRES_PASSWORD: change-this-password
POSTGRES_DB: redmine
volumes:
- db-data:/var/lib/postgresql/data
volumes:
redmine-files:
db-data:
What this does:
redmine:7.0is the official Redmine 7 image. Useredmine:6.1if you need Redmine 6.- The
redmine-filesanddb-datavolumes keep your uploads and database when the containers are recreated. REDMINE_PLUGINS_MIGRATEruns plugin database migrations at every start, so plugins you add are set up automatically.
Step 2: Start Redmine
In the same folder, run:
docker compose up -d
Wait a minute for the first start, then open http://localhost:8080 (or your server’s address). Sign in with admin / admin and change the password straight away.
Step 3: Add free plugins
Put plugins in the plugins folder next to your compose file, then restart. For example, our free Tags, Mentions and Inline Editor plugins:
cd plugins
git clone -b release/7.0.0 https://github.com/zehntech/redmineflux-tags-plugin.git flux_tags
git clone -b release/7.0.0 https://github.com/zehntech/redmineflux-mentions-plugin.git flux_mentions
git clone -b release/7.0.0 https://github.com/zehntech/redmineflux-inline-editor-plugin.git inplace_issue_editor
cd ..
docker compose restart redmine
The container installs the plugins’ gems and runs their migrations when it starts.
How to update Redmine
Change the image tag if you move to a new version, then run:
docker compose pull
docker compose up -d
Back up the db-data volume before every update.
Don't want to run a server?
Redmineflux Managed Cloud gives you Redmine with our plugins, hosted, backed up and updated for you. Or add paid Redmineflux plugins such as Agile Board, Gantt Chart, Timesheet and Helpdesk to your own Docker Redmine.


