Docker:Redmine: Unterschied zwischen den Versionen

Aus Alexander's Wiki
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
= Grundinstallation ''docker'' =
= Grundinstallation ''docker'' =
<source lang="bash">
<source lang="bash">
Zeile 6: Zeile 7:
</source>
</source>


= Redmine =
 
= ''Redmine''-Installation =
== Schnellinstallation ==
== Schnellinstallation ==
<source lang="bash">
<source lang="bash">
Zeile 19: Zeile 21:


== Manuelle Installation ==
== Manuelle Installation ==
=== ''Postgres''-Datenbank ===
<source lang="bash">
docker run --name=postgresql-redmine -d \
  --env='DB_NAME=redmine_production' \
  --env='DB_USER=redmine' --env='DB_PASS=password' \
  --volume=/srv/docker/redmine/postgresql:/var/lib/postgresql \
  sameersbn/postgresql:9.4-21
</source>
=== ''Redmine''-Programm ===
<source lang="bash">
docker run --name=redmine -d \
  --link=postgresql-redmine:postgresql --publish=10083:80 \
  --env='REDMINE_PORT=10083' \
  --volume=/srv/docker/redmine/redmine:/home/redmine/data \
  sameersbn/redmine:3.2.1-6
</source>
== Benutzung und Infos  ==
Point your browser to http://localhost:10083 and login using the default username and password:
username: admin
password: admin
Make sure you visit the Administration link and Load the default configuration before creating any projects.
= Quellen =
https://github.com/sameersbn/docker-redmine

Aktuelle Version vom 6. Mai 2016, 21:12 Uhr

Grundinstallation docker

  apt-get install docker
  apt install docker.io
  apt-get install docker-compose


Redmine-Installation

Schnellinstallation

  docker pull sameersbn/redmine:latest
  wget https://raw.githubusercontent.com/sameersbn/docker-redmine/master/docker-compose.yml
  docker-compose up

Installiert:

  • sameersbn/postgresql:9.4-21
  • sameersbn/redmine:3.2.1-6

Manuelle Installation

Postgres-Datenbank

docker run --name=postgresql-redmine -d \
  --env='DB_NAME=redmine_production' \
  --env='DB_USER=redmine' --env='DB_PASS=password' \
  --volume=/srv/docker/redmine/postgresql:/var/lib/postgresql \
  sameersbn/postgresql:9.4-21

Redmine-Programm

docker run --name=redmine -d \
  --link=postgresql-redmine:postgresql --publish=10083:80 \
  --env='REDMINE_PORT=10083' \
  --volume=/srv/docker/redmine/redmine:/home/redmine/data \
  sameersbn/redmine:3.2.1-6

Benutzung und Infos

Point your browser to http://localhost:10083 and login using the default username and password:

username: admin password: admin Make sure you visit the Administration link and Load the default configuration before creating any projects.

Quellen

https://github.com/sameersbn/docker-redmine