Skip to content

Instantly share code, notes, and snippets.

@akiessling
Last active May 30, 2018 00:58
Show Gist options
  • Save akiessling/6b725fe4722deb36d9ff74f515509e3a to your computer and use it in GitHub Desktop.
Save akiessling/6b725fe4722deb36d9ff74f515509e3a to your computer and use it in GitHub Desktop.
docker-compose setup for Redmine with MySQL Database
# login under http://localhost:8080 with admin/admin
version: '2'
services:
redmine:
image: redmine
ports:
- '8080:3000'
environment:
REDMINE_DB_MYSQL: db
REDMINE_DB_USERNAME: redmine
REDMINE_DB_PASSWORD: redmine
REDMINE_DB_DATABASE: redmine
volumes:
- './redmine/files:/usr/src/redmine/files'
- './redmine/plugins:/usr/src/redmine/plugins'
depends_on:
- db
restart: always
db:
image: mysql
environment:
MYSQL_USER: redmine
MYSQL_PASSWORD: redmine
MYSQL_ROOT_PASSWORD: redmine
MYSQL_DATABASE: redmine
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment