stable

Clone or download

Read-only

Container initialization sequence

Works with a remote DB, can be tested with following commands: 1. start a db (from tuleap sources for the config file) docker run --name db-tee --rm -ti -e MYSQL_ROOT_PASSWORD=welcome0 -v $PWD/tests/etc/DBConfig/mysql-server.cnf:/etc/mysql/mysql.conf.d/tuleap.cnf:ro mysql:5.7 2. get the db container ip docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' db-tee 3. run Tuleap docker run -ti --rm --name=docker-tee -e TULEAP_FQDN=tuleap.local -e DB_HOST=db.ip.address -e DB_ADMIN_USER=root -e DB_ADMIN_PASSWORD=welcome0 -v $PWD:/usr/share/tuleap enalean/tuleap-aio:centos7 /usr/share/tuleap/plugins/tee_container/bin/tee-container.php run Then set docker-tee container IP address to tuleap.local in /etc/hosts and enjoy ! Part of story #14683 install a basic image Change-Id: Icf64887a18103827fa4b7eea65b6a395758afdee

Modified Files

Name
M plugins/tee_container/bin/tee-container.php +1 −1 Go to diff View file
M plugins/tee_container/include/StartContainerCommand.php +104 −2 Go to diff View file
A src/tuleap-cfg/Command/Docker/DataPersistence.php +93 −0 Go to diff View file
A src/tuleap-cfg/Command/Docker/Postfix.php +38 −0 Go to diff View file
A src/tuleap-cfg/Command/Docker/Rsyslog.php +41 −0 Go to diff View file
A src/tuleap-cfg/Command/Docker/SSHDaemon.php +69 −0 Go to diff View file
A src/tuleap-cfg/Command/Docker/Supervisord.php +108 −0 Go to diff View file
A src/tuleap-cfg/Command/Docker/Tuleap.php +91 −0 Go to diff View file
M src/tuleap-cfg/Command/DockerAioRunCommand.php +36 −172 Go to diff View file
M src/tuleap-cfg/Command/SetupMysqlInitCommand.php +3 −2 Go to diff View file
M tools/setup.el7.sh +5 −5 Go to diff View file
M tools/setup/el7/include/plugins.sh +1 −0 Go to diff View file