Giter Site home page Giter Site logo

redmine_docker_rpi's Introduction

Redmine on RaspberryPi with docker

Intro

Redmine server instance on a docker container running on RaspberryPi 4.

Design

  • 3 containers
    • Redmine
    • Postgresql database
    • Git repositories storage
  • 1 network
  • 3 volumes
    • db volume to persist database
    • data volume to persist files uploaded to redmine
    • repos volume to persist Git repositories
  • 1 secret file for DB password

Installation

  • Pull repository to get docker-compose.yml file and docker images
  • Build required images: alpine-git and then redmine-repos
  • Set password in file dbpassword
  • Run command sudo systemctl enable docker to allow automatic start at Rpi boot

Run Redmine

Go into directory containing docker-compose.yml file and execute following command docker-compose up -d

First usage

The first time you run Redmine, you need to init repositories first.

  • Attach to repositories container to clone:
    • Simply attaching to container is not sufficient since container doesn't run shell command. Most suitable option is to execute a shell command to it with interractive option with binding to TTY
    • docker container exec -it <nom_container> sh
  • Go into folder /usr/repos
  • Clone all required repositories (ensure to use --mirror option)
    • git clone --mirror <url>

Access Remine

  • From any browser having access to the Raspberry, browse to URL <raspberry-address>:3000
  • Default login/password is admin/admin. You will be invited to change it at the first login

Notes

  • Once redmine has been started and DB has been initialized, password is setup and changing it requires more than simply updating the dbpassword file

redmine_docker_rpi's People

Contributors

behej avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.