Docker image for running Redmine or Redmica with persistent storage, PostgreSQL support, and plugin compatibility.
Image tags follow this format:
<flavor>-<version>Examples:
redmine-6.1.2redmica-4.1.1Supported flavors:
redmineredmicaExample with Docker Compose:
services:
postgresql:
image: sameersbn/postgresql:14-20230628
environment:
DB_USER: redmine
DB_PASS: redminepass
DB_NAME: redmine_production
volumes:
- postgresql_data:/var/lib/postgresql
redmine:
image: yassan/redmine:redmine-6.1.2
depends_on:
- postgresql
ports:
- "10083:80"
environment:
TZ: Asia/Tokyo
DB_ADAPTER: postgresql
DB_HOST: postgresql
DB_PORT: 5432
DB_USER: redmine
DB_PASS: redminepass
DB_NAME: redmine_production
DB_SSL_MODE: prefer
REDMINE_PORT: 10083
REDMINE_HTTPS: "false"
REDMINE_SECRET_TOKEN: change-me
volumes:
- redmine_data:/home/redmine/data
- redmine_logs:/var/log/redmine
volumes:
postgresql_data:
redmine_data:
redmine_logs:
For Redmica, use a Redmica tag such as:
yassan/redmine:redmica-4.1.1
Then start the stack:
docker compose up -d
The container serves HTTP on:
80/tcpTypical host mappings:
10083:8010084:80Persist these paths outside the container:
/home/redmine/data/var/log/redminePlugins should be placed in:
/home/redmine/data/pluginsCommon settings:
DB_ADAPTERDB_HOSTDB_PORTDB_USERDB_PASSDB_NAMEDB_SSL_MODETZREDMINE_PORTREDMINE_HTTPSREDMINE_RELATIVE_URL_ROOTREDMINE_SECRET_TOKENSMTP_*IMAP_*NGINX_MAX_UPLOAD_SIZEPlugins are supported through the persistent data volume.
At startup, the image can:
Optional hooks:
plugins/pre-install.shplugins/post-install.shContent type
Image
Digest
sha256:e1ca197d4…
Size
388.9 MB
Last updated
23 days ago
docker pull yassan/redmine:redmica-4.1.4