项目作者: projektmotor

项目描述 :
Redmine Docker Container - including Redmine Git Hosting
高级语言: Dockerfile
项目地址: git://github.com/projektmotor/docker-redmine.git
创建时间: 2018-12-01T18:26:01Z
项目社区:https://github.com/projektmotor/docker-redmine

开源协议:

下载


ProjektMOTOR Redmine Docker

Redmine Docker Image depending on offical Redmine Image, including redmine git hosting and some additional themes.

How to use

  • clone this repository
  • add additional plugins into plugins directory
  • build docker image (gems installation included):
    1. $ docker build -t [YOUR-IMAGE-NAME] .
  • your image is ready for use, the following examples using docker-compose to run redmine
  • create docker-compose.yml

    1. version: '3.1'
    2. services:
    3. web:
    4. image: projektmotor/docker-redmine:latest
    5. restart: always
    6. volumes:
    7. - ./web/redmine/files/:/usr/src/redmine/files
    8. - ./web/redmine/config/configuration.yml:/usr/src/redmine/config/configuration.yml
    9. - ./web/gitolite/repositories/:/home/git/repositories
    10. ports:
    11. - 80:3000
    12. - 2222:2222
    13. environment:
    14. REDMINE_DB_MYSQL: mysql
    15. REDMINE_DB_DATABASE: redmine
    16. REDMINE_DB_USERNAME: redmine
    17. REDMINE_DB_PASSWORD: y0ur_passw0rd
    18. REDMINE_PLUGINS_MIGRATE: 'true'
    19. mysql:
    20. image: mysql:5.7
    21. restart: always
    22. volumes:
    23. - ./mysql/data/:/var/lib/mysql
    24. environment:
    25. MYSQL_ROOT_PASSWORD: y0ur_r00t_passw0rd
    26. MYSQL_DATABASE: redmine
    27. MYSQL_USER: redmine
    28. MYSQL_PASSWORD: y0ur_passw0rd
  • start your services
    1. $ docker-compose up -d