Setup Redmine¶
You can run Redmine on an SQLite database... but it's not the most future-proof option.
docker run --rm -d -p 3000:3000 redmine
Login with admin
/ admin
, and you'll be prompted to change your password.
Use MySQL¶
A better approach is to use a MySQL instance - set one up before starting the Redmine setup.
- Create the
redmine
user - Create the
redmine
database - Grant the user access to the database
CREATE USER 'redmine'@'%' IDENTIFIED BY 'password';
CREATE DATABASE `redmine`;
GRANT ALL PRIVILEGES ON `redmine`.* TO 'redmine'@'%';
Then, use the following environment variables to point Redmine at the database:
REDMINE_DB_MYSQL=hostname
REDMINE_DB_USERNAME=redmine
REDMINE_DB_PASSWORD=password
REDMINE_DB_DATABASE=redmine
Important Notes¶
Uploads are stored here: /usr/src/redmine/files/